我正在使用 Scribe-Java 连接到 Google 并使用 OAuth2。我能够验证我的应用程序并获得用户的许可,但是当我尝试访问 userinfo
以外的任何内容时,我收到此异常。
403
{
"error": {
"errors": [ { "domain": "usageLimits", "reason": "accessNotConfigured","message": "Access Not Configured" } ], "code": 403, "message": "Access Not Configured" } }
我已将我的应用程序范围设置为 https://www.googleapis.com/auth/plus.me https://www.googleapis.com/auth/userinfo.profile
和要访问用户的个人资料,我正在使用此网址:
https://www.googleapis.com/plus/v1/people/{userid}/activities/public
你能告诉我我做错了什么吗?我需要在此处使用其他范围来访问配置文件吗?
最佳答案
关于java - 无法从 Google Plus 访问用户的个人资料,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11082550/