1

我已按照此 URl 中的说明获取用户 ID、姓名和电子邮件,但没有图像信息。请提出您的反馈意见。

https://developers.google.com/identity/sign-in/ios/people

还使用此网址获取图片https://www.googleapis.com/plus/v1/people/115950284...320?fields=image&key= {YOUR_API_KEY} 但它说

{
"error": {
 "errors": [
  {
"domain": "usageLimits",
"reason": "ipRefererBlocked",
"message": "There is a per-IP or per-Referer restriction configured on your API key and the request does not match these restrictions. Please use the Google Developers Console to update your API key configuration if request from this IP or referer should be allowed.",
"extendedHelp": "https://console.developers.google.com"
 } ], "code": 403,
 "message": "There is a per-IP or per-Referer restriction configured on your API key and the request does not match these restrictions. Please use the Google Developers Console to update your API key configuration if request from this IP or referer should be allowed."
} }
4

1 回答 1

0

您可以使用服务器 API,不仅可以编写服务器的 IP,还可以编写 IPv6。这帮助我解决了同样的问题。

于 2016-08-01T22:29:40.600 回答