Youtube API: Comment Insert 403 forbidden insufficient permissions -
i'm using api explorer @ bottom of https://developers.google.com/youtube/v3/docs/commentthreads/insert test call. requesting scope https://www.googleapis.com/auth/youtube.force-ssl. appreciate help!
request:
post https://www.googleapis.com/youtube/v3/commentthreads?part=id%2csnippet&fields=id&key={your_api_key} { "snippet": { "toplevelcomment": { "snippet": { "textoriginal": "comment gdev" } }, "videoid": "b5bypnlbbgq", "channelid": "ucnqqfgltbsjc9er7xfv4wba" } } response:
{ "error": { "errors": [ { "domain": "youtube.commentthread", "reason": "forbidden", "message": "the comment thread not created due insufficient permissions. request might not authorized.", "locationtype": "other", "location": "body" } ], "code": 403, "message": "the comment thread not created due insufficient permissions. request might not authorized." } }
the video private.... worked fine on public video.
Comments
Post a Comment