I have an API Key and a Bearer Token. I am able to list comments, insert comments and delete comments but I am not able to update comments.
API:
PUT https://www.googleapis.com/youtube/v3/comments
Body:
{
"snippet": {
"textOriginal": "Text"
},
"id": "..."
}
Response:
{
"error": {
"code": 403,
"message": "The comment could not be updated due to insufficient permissions. The request might not be properly authorized.",
"errors": [
{
"message": "The comment could not be updated due to insufficient permissions. The request might not be properly authorized.",
"domain": "youtube.comment",
"reason": "forbidden",
"location": "body",
"locationType": "other"
}
]
}
}
On my own channel, I was able to do it but I wasn't in other channels =/
One of the videos that I used to try it: https://www.youtube.com/watch?v=cahbnnv2Hwk
Do I need some kind of special authorization to be able to update my comment through an API? I am able to manually edit the comment.
Thank you =]