Google+ 域 API 未配置

Google+ Domains API Not Configured

当我尝试 post 一个 activity 到 Google+ 我得到错误:

{
  "error": {
    "code": 403, 
    "message": "Access Not Configured. The API (Google+ Domains API) is not enabled for your project. Please use the Google Developers Console to update your configuration.", 
    "errors": [
      {
        "domain": "usageLimits", 
        "message": "Access Not Configured. The API (Google+ Domains API) is not enabled for your project. Please use the Google Developers Console to update your configuration.", 
        "reason": "accessNotConfigured", 
        "extendedHelp": "https://console.developers.google.com"
      }
    ]
  }
}

我知道 之前有人问过这个问题,但我的错误信息不同。我还在控制台中启用了 Google 域 API。我使用的是 Gmail 帐户,我还收到以下范围的圈子和联系人信息:

https://www.googleapis.com/auth/userinfo.email

https://www.google.com/m8/feeds https://www.googleapis.com/auth/plus.login

https://www.googleapis.com/auth/plus.stream.write

https://www.googleapis.com/auth/plus.me

我的Postbody是:

{
"object": {
    "originalContent": "Happy Monday! #caseofthemondays"
},
"access": {
    "items": [
        {
            "type": "domain"
        }
    ],
    "domainRestricted": true
}

}

您是否在 Google 项目中创建(或使用)了 API_KEYs? 如果没有,请转到 Google 开发人员控制台和 select APIs & Auth 下的凭据部分,并创建与您的应用程序相关的 API 密钥。 如果您已有密钥,请尝试重新生成一个新密钥

发现此功能仅适用于 Google Apps 客户,其他任何人均无法使用。 Reference