小编vin*_*nay的帖子

accessNotConfigured:iOS模拟器上的Google URL缩短API

我已将Google URL-Shorten API我的iOS应用程序集成到测试目的中.我的应用程序的Bundle ID由我添加Authorized iOS Applications到发送请求的列表中.

但每当我发送HTTP POST请求时NSURLRequest,我都会收到以下错误JSON:

{
 "error": {
  "errors": [
   {
    "domain": "usageLimits",
    "reason": "accessNotConfigured",
    "message": "Access Not Configured. The API is not enabled for your project, or 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 configuration.",
    "extendedHelp": "https://console.developers.google.com"
   }
  ],
  "code": 403,
  "message": "Access Not …
Run Code Online (Sandbox Code Playgroud)

objective-c google-api ios google-url-shortener ios8

5
推荐指数
1
解决办法
1272
查看次数