Youtube Comment API: Comment Insert 403 forbidden insufficient permissions

前端 未结 1 1812
广开言路
广开言路 2021-01-26 02:04

This is what im using to add comments to youtube :

gapi.client.youtube.commentThreads.insert({
          part: \"snippet\", commentData
        }).then(function          


        
相关标签:
1条回答
  • 2021-01-26 02:41

    Insufficient Permission: Request had insufficient authentication scopes.

    Means exactly that the currently authenticated user has not granted you the permissions to do that.

    If you check the documentation comments.insert you will see that in order to use this method you must have authncated your user with the https://www.googleapis.com/auth/youtube.force-ssl scope

    0 讨论(0)
提交回复
热议问题