Youtube api Youtube评论API:评论插入403禁止权限不足
这是我用来向youtube添加评论的内容:Youtube api Youtube评论API:评论插入403禁止权限不足,youtube-api,android-youtube-api,Youtube Api,Android Youtube Api,这是我用来向youtube添加评论的内容: gapi.client.youtube.commentThreads.insert({ part: "snippet", commentData }).then(function (response) { console.log("response", response); }) 这是我在点击时得到的: { "error": { "errors": [ { "doma
gapi.client.youtube.commentThreads.insert({
part: "snippet", commentData
}).then(function (response) {
console.log("response", response);
})
这是我在点击时得到的:
{
"error": {
"errors": [
{
"domain": "global",
"reason": "insufficientPermissions",
"message": "Insufficient Permission: Request had insufficient authentication scopes."
}
],
"code": 403,
"message": "Insufficient Permission: Request had insufficient authentication scopes."
}
}
权限不足:请求的身份验证作用域不足
确切地说,当前经过身份验证的用户尚未授予您执行此操作的权限
如果查看文档,您会发现要使用此方法,您必须使用https://www.googleapis.com/auth/youtube.force-ssl
范围
权限不足:请求的身份验证作用域不足
确切地说,当前经过身份验证的用户尚未授予您执行此操作的权限
如果查看文档,您会发现要使用此方法,您必须使用https://www.googleapis.com/auth/youtube.force-ssl
范围
是否需要HTTPS的可能副本?如果没有HTTPS,您当然无法登录到身份验证服务器,这将是一场安全噩梦。我已修复了它。我需要使用Gapi来插入commentis HTTPS?为了授权,当然你不能在没有HTTPS的情况下登录到身份验证服务器,这将是一场安全噩梦。我修复了它。我使用Gapi插入注释