Couldn't find it anywhere in the docs.
Is there a way to add a comment to a video with YouTube API v3?
Comment API overview Generally speaking, only two functions you need to know to get comment API worked: Use comment::init to initialize Comment API. Use $comment->output to display comments.
Yes, using the YouTube API does not incur any monetary cost for the entity calling the API. If you go over your quota an 403 Error will be returned by the API.
There is no support for comments in v3 of the Youtube API. If you wanna work with comments you need to use v2 of the API. Here is a guide on how to use comments with the V2 API: https://developers.google.com/youtube/2.0/developers_guide_protocol_comments
To create a top-level comment, use the commentThreads.insert
method.
https://developers.google.com/youtube/v3/docs/commentThreads/insert
According to the Youtube API blog, comments are only available on v2 at the moment, until a "modern" alternative comes along for v3: http://apiblog.youtube.com/2014/03/committing-to-youtube-data-api-v3.html
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With