通过YoutubeAPI设置自定义缩略图不起作用.有人可以告诉我为什么吗?

pul*_*557 5 youtube api

我尝试上传视频的自定义缩略图.

官方文档链接:https://developers.google.com/youtube/v3/docs/thumbnails/set

请求访问令牌的已使用范围为:
https*://www.googleapis.com/auth/youtube.force-ssl
https*://www.googleapis.com/auth/youtubepartner
https*://www.googleapis.com /auth/userinfo.profile
https*://www.googleapis.com/auth/userinfo.email
https*://www.googleapis.com/auth/youtube
https*://www.googleapis.com/auth/youtube .upload

然后我得到回应:

调用PUT时出错https://www.googleapis.com/upload/youtube/v3/thumbnails/set?videoId=my_video_id&uploadType=resumable&upload_id=my_upload_id:(403)经过身份验证的用户无权上传和设置自定义视频缩略图.

我设置了所有需要的范围,但仍然没有权限.我该如何解决?谢谢.

小智 6

我有同样的问题.找到解决方案:

请通过输入电话号码验证您的帐户,并在您帐户的面板中启用"自定义缩略图".

文档:https://support.google.com/youtube/answer/72431