YouTube数据API v3禁止使用403

问题描述

我尝试使用youtube数据API v3访问Member。,但收到错误消息:

{
"error": {
    "code": 403,"message": "Access forbidden. The request may not be properly authorized.","errors": [{
        "message": "Access forbidden. The request may not be properly authorized.","domain": "youtube.common","reason": "forbidden"
    }]
}

}

这是我的范围

$scope = Google_Service_YouTube::YOUTUBE
        . ' ' . Google_Service_YouTube::YOUTUBE_CHANNEL_MEMBERSHIPS_CREATOR
        . ' ' . Google_Service_YouTube::YOUTUBE_FORCE_SSL
        . ' ' . Google_Service_YouTube::YOUTUBE_UPLOAD
        . ' ' . Google_Service_YouTube::YOUTUBEPARTNER
        . ' ' . Google_Service_YouTube::YOUTUBEPARTNER_CHANNEL_AUDIT;

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)