playground.call

Add a comment to a video.

This method requires a token with write permission.

Parameters

Log in to enter Playground
Name Type Description
video_id int (required) The ID of the video.
comment_text string (required) The text of the comment.
reply_to_comment_id int If this is a reply to another comment, include that comment's ID.

Error Codes

Code Message Explanation
99 Insufficient permissions The user does not have permission to do that.
1 Video not found The video id was either invalid or not provided.
1 Video not found The video id was either invalid or was for a video not viewable by the calling user.
95 Not allowed The user is not allowed to perform that action.
2 Cannot comment The user does not have permission to comment on this video.
3 Blank comment Comment text cannot be blank.