如何使用OAuth2.0访问Google Feed(Reader)?
我想使用OAuth2.0访问Google Feed。 我使用google-oauth-java-client获取访问令牌。 如何使用它来访问feeds API?
我引用了dailymotion-cmdline-sample ,并将SCOPE更改为http://www.google.com/reader/api
以获取凭据。
它返回:
401 Unauthorized You must be signed in to access this stream.
我不知道出了什么问题……
我还阅读了一些post,显示OAuth2.0可以完成这项工作,但它们对我来说不够详细:
仅对Google OAuth 2.0令牌具有读取权限?
使用Google阅读器API
使用OAuth2 access_token访问Google阅读器订阅
我的范围与http://www.google.com/reader/api/*
有同样的问题。 我通过将范围更改为http://www.google.com/reader/api/
解决了这个问题。 尝试使用/
结束。