【发布时间】:2014-06-24 14:21:19
【问题描述】:
我正在使用 Google Playground 访问 Google+ API。当我尝试调用 API 时
https://www.googleapis.com/plusDomains/v1/people/[user_id]/circles
..那么它会导致错误:
{
"error": {
"code": 403,
"message": "Access Not Configured. Please use Google Developers Console to activate the API for your project.",
"errors": [
{
"domain": "usageLimits",
"message": "Access Not Configured. Please use Google Developers Console to activate the API for your project.",
"reason": "accessNotConfigured"
}
]
}
}
在 Playground 页面的第 1 步中,我选择了“Google+ Domain API”和“Google+ API v1”并授权并获得了访问令牌。当然,在进行 API 调用之前,[user_id] 已被正确替换。
【问题讨论】:
-
有时需要几个小时才能传播更改。您也可以尝试创建一个新的 API 密钥,看看它是否会选择启用的 API。
-
@abraham 即使经过很多天它也无法正常工作:)
标签: google-plus google-oauth google-playground