Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/ios/102.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
无法在IOS中获取Google登录配置文件图像_Ios_Objective C_Google Plus Signin_Googlesigninaccount - Fatal编程技术网

无法在IOS中获取Google登录配置文件图像

无法在IOS中获取Google登录配置文件图像,ios,objective-c,google-plus-signin,googlesigninaccount,Ios,Objective C,Google Plus Signin,Googlesigninaccount,我已经按照此URl中的说明获取了用户名、姓名和电子邮件,但没有图像信息。请提出您的反馈意见 也可以使用此url获取图像{YOUR_API_KEY},但它会显示 { "error": { "errors": [ { "domain": "usageLimits", "reason": "ipRefererBlocked", "message": "There is a per-IP or per-Referer restriction configured on your API key

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

也可以使用此url获取图像{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。这也帮助我解决了同样的问题。

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

您是否在API密钥配置中指定了部署服务器的域名,然后尝试从开发机器上运行代码?您可能需要指定更多此类信息。您是否在API密钥配置中指定了部署服务器的域名,然后尝试从开发计算机运行代码?您可能需要指定更多此类信息;这很可能与这个问题有关,但目前您的答案太短,无法提供真正的帮助;这很可能与这个问题有关,但目前你的答案太短,无法提供真正的帮助。