问题
Is that possible to access Google Reader subscriptions using OAuth2 access_token? I've created Google APIs project, setting up domain and created javascript code that receives OAuth2 token. It works well for other Google APIs, but not for Google Reader OPML subscriptions. Could anyone hint me?
回答1:
Seems I've solved myself. The trick was that after obtaining "code" token from browser, you should perform call to https://accounts.google.com/o/oauth2/token to obtain access_token, token_type, expires_in and refresh_token.
Another important thing is that you should define scope as http://www.google.com/reader/api not http://www.google.com/reader/api/* as stated somewhere.
来源:https://stackoverflow.com/questions/8530790/accessing-google-reader-subscriptions-with-oauth2-access-token