Arc*_*her 2 google-reader access-token oauth-2.0
是否可以使用OAuth2 access_token访问Google阅读器订阅?我创建了Google API项目,设置域并创建了接收OAuth2令牌的JavaScript代码.它适用于其他Google API,但不适用于Google Reader OPML订阅.谁能暗示我?
好像我已经解决了自己.诀窍是,在从浏览器获取"代码"令牌后,您应该执行https://accounts.google.com/o/oauth2/token调用以获取access_token,token_type,expires_in和refresh_token.
另一个重要的事情是,您应该将范围定义为http://www.google.com/reader/api而不是http://www.google.com/reader/api/*.
| 归档时间: |
|
| 查看次数: |
1473 次 |
| 最近记录: |