Learn R Programming

tuber (version 2.0.0)

reply_to_comment: Reply to a Comment

Description

Replies to an existing comment. Requires OAuth 2.0 authentication.

Usage

reply_to_comment(parent_id, text, ...)

Value

A list containing the API response.

Arguments

parent_id

Character. The ID of the comment being replied to.

text

Character. The text of the reply.

...

Additional arguments passed to tuber_POST_json.

References

https://developers.google.com/youtube/v3/docs/comments/insert

Examples

Run this code
if (FALSE) {
# Set API token via yt_oauth() first

reply_to_comment(parent_id = "Ugz...", text = "Thanks for watching!")
}

Run the code above in your browser using DataLab