无法在IOS中获取Google Signin个人资料图像



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

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

还可以使用此url获取图像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."
} }

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

相关内容

  • 没有找到相关文章

最新更新