Jak*_*ala 2 php google-plus google-domain-api
我对Google API有疑问.我的目标是从服务器向我们的Google+公司页面发布状态.所以它必须是服务器端,完全.
我从Google文档中看到了数百页,但我根本不理解.
当我尝试执行"plusDomains.activities.insert"操作(通过API Explorer)时,我收到错误:
{
"error": {
"errors": [
{
"domain": "plusDomains",
"reason": "forbiddenScope",
"message": "Access to the Google+ Domains API is not allowed as the user has consented to incompatible scopes. See: https://developers.google.com/+/domains/authentication/."
}
],
"code": 403,
"message": "Access to the Google+ Domains API is not allowed as the user has consented to incompatible scopes. See: https://developers.google.com/+/domains/authentication/."
}
}
Run Code Online (Sandbox Code Playgroud)
这个错误的原因是什么?我必须使用哪些用户?在开发者控制台中,我有3个用户和1个完整管理员(我的G-Apps帐户).我应该设置什么作为客户端ID和谷歌凭证对象?
非常感谢任何建议.
API Explorer有一个错误,默认为与Google+域帐户不兼容的范围.转到Google帐户权限列表并撤消访问权限Google APIs Explorer.返回API Explorer并再次授权,但取消选中https://www.googleapis.com/auth/plus.login仅留下范围plus.me并plus.stream.write启用范围.
| 归档时间: |
|
| 查看次数: |
1192 次 |
| 最近记录: |