Google+ API中的错误代码403 [英] Error code 403 in Google+ api

查看:229
本文介绍了Google+ API中的错误代码403的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我收到错误":{ "errors": [ { "domain": "usageLimits", "reason": "dailyLimitExceededUnreg", "message": "Daily Limit for Unauthenticated Use Exceeded. Continued use requires signup.", "extendedHelp": "https://code.google.com/apis/console" } ], "code": 403, "message": "Daily Limit for Unauthenticated Use Exceeded. Continued use requires signup." } 当我尝试通过 https://www.googleapis.com/在Google+ api中获取用户个人资料时plus/v1/people/me URL字符串.如果有人有任何建议,请尽快告诉我.提前感谢您的时间.

I got "error": { "errors": [ { "domain": "usageLimits", "reason": "dailyLimitExceededUnreg", "message": "Daily Limit for Unauthenticated Use Exceeded. Continued use requires signup.", "extendedHelp": "https://code.google.com/apis/console" } ], "code": 403, "message": "Daily Limit for Unauthenticated Use Exceeded. Continued use requires signup." } When i try to fetch User Profile in Google+ api by https://www.googleapis.com/plus/v1/people/me URL String.If anyone have any suggestion then please tell me as soon as possible.Thanks in advance for your time.

推荐答案

该消息表示您尚未设置Google API控制台项目.

That message implies that you haven't set up a Google APIs console project.

  1. 创建一个 Google API控制台项目
  2. 服务"窗格上,启用项目所需的所有API.
  3. API访问窗格上,点击创建OAuth 2.0客户端ID .将打开一个对话框.填写您的项目信息.点击下一步
  4. 选择适当的应用程序类型.根据您用于本文的标签,我猜这是一个iOS项目,因此请选择已安装的应用程序.
  5. 输入您的捆绑包ID.在您的应用程序在此处列出之前,您无需输入App Store ID.
  6. 点击创建客户端ID .
  1. Create a Google APIs Console project
  2. On the Services pane, enable all of the APIs that your project requires.
  3. On the API Access pane, click Create an OAuth 2.0 client ID. A dialog opens. Fill in your project's information. Click Next
  4. Choose the appropriate application type. Based on the tags you used for this post, I am guessing this is an iOS project so select Installed application.
  5. Enter your bundle ID. You don't need to enter an App Store ID until your app is listed there.
  6. Click Create Client ID.

您将看到客户端ID和客户端机密值.您将使用这些值来启用与您的项目和Google API的通信.

You will see the client ID and client secret values. You will use these values to enable communication with your project and the Google APIs.

如果尚未使用它,请参阅 Google+ iOS SDK和文档进行完整的遍历.名为写入时刻"的任务在实现上类似,并且演示了如何在使用SDK的iOS项目中连接和使用Google+ REST API.

If you aren't already using it, see the Google+ iOS SDK and documentation for a full walk through. The task called "write moments" is similar in implementation and demonstrates how to connect to and use the Google+ REST APIs from within an iOS project that uses the SDK.

您需要指定plus.me的范围以获取配置文件信息.

You'll need to specify the scope of plus.me to get the profile information.

这篇关于Google+ API中的错误代码403的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆