首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Google+接口- Google+上的插入/更新状态

Google+接口- Google+上的插入/更新状态
EN

Stack Overflow用户
提问于 2014-10-07 21:40:41
回答 1查看 1.2K关注 0票数 2

我有一个关于Google API的问题。我的目标是从服务器将状态发布到我们的Google+公司页面。所以它必须完全是服务器端的。

我看了上百页的Google文档,但我一点也不懂。

当我尝试执行操作"plusDomains.activities.insert“(通过API Explorer)时,我得到错误:

代码语言:javascript
复制
{
 "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/."
 }
}

这个错误的原因是什么?我必须使用哪个用户?在开发人员控制台中,我有3个用户和1个完全管理员(我的G-Apps帐户)。我应该将什么设置为client-id和google credentials对象?

非常感谢您的建议。

EN

回答 1

Stack Overflow用户

发布于 2014-10-08 03:02:40

API Explorer有一个错误,它默认使用与Google+域帐户不兼容的作用域。转到Google account permissions列表并从Google APIs Explorer撤销访问权限。返回到APIs Explorer并再次授权,但取消选中https://www.googleapis.com/auth/plus.login范围,只启用plus.meplus.stream.write范围。

票数 5
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/26237429

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档