capabilities.work

Post Comment Thread and Reply

A 2-step recipe with YouTube. We can help you get access.

Recipe · 2 steps

Post Comment Thread and Reply

with YouTube

Create a top-level comment thread, then reply to its top-level comment.

  1. Create a new top-level comment thread on the video and capture the id of the created top-level comment.
  2. Reply to the top-level comment created above by inserting a comment whose parentId is the top-level comment id.
What you'll need to have ready
  • apiKey: The Google API key used to authorize each YouTube Data API request.
  • videoId: The id of the video to comment on.
  • commentText: The text of the top-level comment to post.
  • replyText: The text of the reply to post under the top-level comment.
For your developer

Arazzo workflow youtube:post-comment-thread-reply, 2 operations: youtube.commentThreads.insert → youtube.comments.insert. Specs on APIs.io.