-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not authorized to request the scopes #70
Comments
We have updated this in the YakYak app some time ago, but not in hangupsjs itself :\ I'm not really sure on this.. @davibe ? My workaround is to start a session with YakYak and then copy |
@averissimo hello! I'm kind of new to node.js and OAuth. I can't seem to get the constructors to be happy setting it to read from the CookieJar. May I ask if you don't mind sharing your code that let's you read the files from YakYak? I would greatly appreciate it! |
https://github.com/averissimo/hangupsjs/tree/my_blank_login I use this code to test some stuff, see To get the right scope files:
ps. I use some stuff inside login to send 'Hello World' messages to specific conversations and check for user presence (all depending on the login user)... you can use that code as inspiration |
Hi you said it is fixed in yakyak? Where do you the login in YakYak? |
Got same error. What else scopes we can try?
It is because of the wrong scope? |
Check this: https://productforums.google.com/forum/#!topic/hangouts/LU2YZNDhN_s The necessary authentication endpoint must be changed to programmatic_auth, the caveat is that the code does not appear directly in the page, it must be retrieved by inpector :\ I've just tested the code below, it should work using the workaround described in the link/video https://github.com/yakyak/yakyak/blob/master/src/login.coffee#L7
|
or see branch scope_workaround for a working example |
@averissimo Branch |
Any information about this? I'm facing this since couple of days and can't find any information. |
Are you using version 1.5.7 or above? |
I'm using 1.3.8 and getting this:
I'm using the token mentioned earlier, not sure what has changed. Updating it won't do the trick. |
I'm using lastest version of git "npm install https://github.com/yakyak/hangupsjs.git" after that I needed to auth again and everything works again |
I got this error trying to set up the oauth
The text was updated successfully, but these errors were encountered: