View source: R/comments_write.R
| reply_to_comment | R Documentation |
Replies to an existing comment. Requires OAuth 2.0 authentication.
reply_to_comment(parent_id, text, ...)
parent_id |
Character. The ID of the comment being replied to. |
text |
Character. The text of the reply. |
... |
Additional arguments passed to |
A list containing the API response.
https://developers.google.com/youtube/v3/docs/comments/insert
## Not run:
# Set API token via yt_oauth() first
reply_to_comment(parent_id = "Ugz...", text = "Thanks for watching!")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.