1

Google+ API にアクセスするために Google Playground を使用しています。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」の両方を選択し、承認してアクセス トークンを取得しました。もちろん、[user_id] は API 呼び出しを行う前に適切に置き換えられます。

4

1 に答える 1

1

理由がわかった。Google+ ドメイン API は、Google でドメイン アカウントを構成せずにアクセスするためのものではありません。Google でドメイン アカウントを設定した後、管理者はこれらの API へのアクセスを許可する権限を設定する必要があります。

https://developers.google.com/+/domains/

于 2014-07-04T09:11:05.613 に答える