【发布时间】:2014-09-12 19:18:53
【问题描述】:
我在使用新的 YouTube Data API V3 时遇到问题。
我仍在使用 V2 版本,但我计划将我的 Web 应用程序迁移到新版本。在使用 Web 浏览器类型对调用进行一些测试后:
https://www.googleapis.com/youtube/v3/videos?id=TYkPtAmJn4E&key=************************&part=sn-p,contentDetails,statistics,status
我收到以下错误:
{
"error": {
"errors": [
{
"domain": "usageLimits",
"reason": "accessNotConfigured",
"message": "Access Not Configured. Please use Google Developers Console to activate the API for your project."
}
],
"code": 403,
"message": "Access Not Configured. Please use Google Developers Console to activate the API for your project."
}
}
我声明应该正确配置控制台,正如您从所附图像中看到的那样,因为它使用 API 的 V2 版本可以正常工作一年多。
你能帮我解决这个问题吗?
谢谢!
【问题讨论】:
-
问题已解决:在开发者控制台 - 公共 API 访问以设置引用者“允许任何引用者”,然后重新生成密钥! ...谢谢!
-
这是什么意思,请帮忙
标签: youtube-api