是否需要使用Google Apps帐户才能使用Google+ Domain API? [英] Is it necessary to use google apps account to use Google+ Domain API's?
本文介绍了是否需要使用Google Apps帐户才能使用Google+ Domain API?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在尝试通过以下api调用获取用户的圈子信息
I am trying to get user's circle info with following api call
xhr.open("GET", "https://www.googleapis.com/plusDomains/v1/people/me/circles?alt=json&access_token=" + googleAuth.getAccessToken());
它的响应文本为
{"error":{"errors":[{"domain":"global","reason":"forbidden","message":"Forbidden"}],"code":403,"message":"Forbidden"}}
我已启用google +域api
I have enable google+ domain api
推荐答案
正确的 Google+域API 方法不适用于@gmail.com
Google帐户.他们需要Google Apps帐户.
Correct, Google+ Domains API methods are not available to @gmail.com
Google accounts. They require Google Apps accounts.
这篇关于是否需要使用Google Apps帐户才能使用Google+ Domain API?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文