【发布时间】:2015-11-10 09:18:09
【问题描述】:
我正在尝试制作一项允许用户将视频上传到 youtube 的任务
我正在努力使这个应用程序工作:https://github.com/youtube/yt-direct-lite-android
但它总是给我以下错误
com.google.api.client.googleapis.json.GoogleJsonResponseException: 403 Forbidden
{
"code": 403,
"errors": [
{
"domain": "usageLimits",
"message": "Access Not Configured. The API (YouTube Data API) is not enabled for your project. Please use the Google Developers Console to update your configuration.",
"reason": "accessNotConfigured",
"extendedHelp": "https://console.developers.google.com"
}
],
"message": "Access Not Configured. The API (YouTube Data API) is not enabled for your project. Please use the Google Developers Console to update your configuration."
}
虽然我已经添加了带有 Auth2.0 的 android API 密钥,但没有它,但没有任何效果。
任何人都可以帮忙,或者至少给我一个简单的例子来上传 youtube 视频。
【问题讨论】: