PubNio calls YouTube’s POST /youtube/v3/commentThreads (youtube.commentThreads.insert) to post a video’s first comment.
How PubNio calls it
- First comments: a post created with
POST /api/v1/postsor sent withPOST /api/v1/posts/{postId}/publishthat carries a first comment gets it after the post publishes. - PubNio sends the comment as
snippet.topLevelComment.snippet.textOriginalfor the video it uploaded, and keeps the returned top-level comment ID.
Scopes
- The pinned spec accepts any one of one scope:
https://www.googleapis.com/auth/youtube.force-ssl. - PubNio’s Google sign-in requests
https://www.googleapis.com/auth/youtube.force-ssl, which satisfies it. - Before a first comment goes out, PubNio checks that the account granted
https://www.googleapis.com/auth/youtube.force-ssl.
Errors
PubNio has no YouTube error code pages yet. Provider error codes covers the providers that have them.
Spec and changes
youtube.commentThreads.insert in the pinned spec, revision 20261124. YouTube reference: youtube.commentThreads.insert reference.
Checked weekly; no change to POST /youtube/v3/commentThreads recorded since this revision. Change tracker.
Limits
- A first comment is at most 10,000 characters.
POST /api/v1/commentsdoes not post YouTube comments.