gpt4 book ai didi

google-api - 未配置访问。 +1 API

转载 作者:行者123 更新时间:2023-12-04 19:30:07 25 4
gpt4 key购买 nike

我正在尝试使用 Google+ API 从 Google+ 获取共享计数并仅捕获错误:

Access Not Configured. +1 API has not been used in project 383866521277 before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/pos.googleapis.com/overview?project=383866521277 then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry.



之后,我访问了推荐链接并发现找不到 pos.googleapis.com。如何启用此 API?

最佳答案

为了访问 Google API,您需要在 Google developer console 上注册您的应用程序.您可能已经创建了凭据。您创建的 API key 或 Oauth2 凭据向 Google 标识了该应用程序。用于创建 API key 或您正在使用的 Oauth2 凭据的项目必须启用 Google+ API。

启用 API:

您忘记做的是告诉 Google 您将访问哪些 API。在左侧寻找“图书馆”,找到 Google+ api 并启用它。

错误 pos.googleapis.com

enter image description here

表示您无权访问项目 383866521277 或它已被删除。创建项目的人必须为您启用 Google+ api。请记住,这由您创建并在代码中使用的 API key 或 Oauth2 凭据表示。

关于google-api - 未配置访问。 +1 API,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44411141/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com