我正在尝试通过"YouTube直播接口“(YouTube Data API v3)访问listLiveBroadcasts。我拥有Auth 2.0访问权限,并且每次都能成功获取令牌。使用相同的逻辑,我可以成功访问Google+日历事件,还可以启用YouTube应用编程接口。但当我尝试列出时:
$youtube->liveBroadcasts->listLiveBroadcasts( 'id,contentDetails', ar
我为我的客户开发了一个应用程序,可以代表我的客户在youtube上上传视频。我的客户所做的是在我的应用程序中提供他的用户名和密码,然后应用程序使用Youtube DATA API V2(用户名/密码凭据)上传视频。问题是,如果我继续使用V2接口,而不是切换到V3接口,该怎么办?有没有可能谷歌会停止V2,而我必须转向V3?
有没有办法让我继续使用凭据进行身份验证而不切换到OAuth 2.0?
所以我向youtube api发出了一个get请求,这是响应: "error": { "message": "The requestcannot be completed because you have exceeded your <a href=\"/youtube/v3/getting-started#quota\">quota"message
我已经为我的项目启用了YouTube data API和Android API,并在Auth.java中更改了Google+ API密钥。我还在Constants.java中输入了我的播放列表信息。YouTube Data API has not been used in project 608941808256 before or it is disabled.Enable it by visiting https://console.developers.google.com/apis/api