Missing tokens from

77 views
Skip to first unread message

rikkit

unread,
Feb 15, 2012, 9:36:29 AM2/15/12
to glue-development
Hi,

I'm making an application for GetGlue.

I have the consumer and consumer_secret tokens. I can successfully
send them to the API, and I receive an oauth_token and
oauth_token_secret. I send these to the authorisation uri, and the
user is then prompted to login and authorise.

From what I understand about Oauth, GetGlue should then be sending the
user to the callback url, with an oauth_verifier token in the query
string (which I would then use to access the API on the user's
behalf). However, it's just sending me to the callback url with no
tokens.

Am I expecting too many tokens or is something wrong?

Karen Teng (GetGlue)

unread,
Feb 15, 2012, 10:00:26 AM2/15/12
to glue-dev...@googlegroups.com
Correct - there isn't an oauth_verifier  token. After your callback is invoked you should pass in the existing oauth_token and oauth_token_secret (which have now been authorized) to the access token endpoint: https://api.getglue.com/oauth/access_token

Once that is successfully called it will return with your permanent token and secret for that user. 

Hope this helps.

- Karen


--
You received this message because you are subscribed to the Google Groups "glue-development" group.
To post to this group, send email to glue-dev...@googlegroups.com.
To unsubscribe from this group, send email to glue-developme...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/glue-development?hl=en.




--
Karen Teng
VP of Engineering
http://getglue.com

GetGlue:  
http://getglue.com/TengFactor
LinkedIn: 
http://www.linkedin.com/in/karenteng

We are hiring! http://getglue.com/jobs



rikkit

unread,
Feb 16, 2012, 8:45:03 AM2/16/12
to glue-development
Ah, sweet. Just to check, can the oauth_tokens contain " marks? If so,
it's all working properly. Thanks for your help.

Rikki Tooley
@rikkilt
Reply all
Reply to author
Forward
0 new messages