powered by
Retrieves specific comments by ID or replies to one parent comment.
list_comments( comment_ids = NULL, parent_id = NULL, part = c("id", "snippet"), max_results = 100, text_format = "html", page_token = NULL, simplify = TRUE, auth = "key", ... )
A data frame when `simplify = TRUE`; otherwise a comments-list response.
Optional character vector of comment IDs.
Optional parent-comment ID. Supply exactly one of `comment_ids` or `parent_id`.
Character vector of comment resource parts.
Maximum total number of replies to return. Ignored when `comment_ids` is supplied.
Comment text format, `"html"` or `"plainText"`.
Optional page token at which to start.
If `TRUE`, return a data frame; otherwise return the raw API response with all collected items.
Authentication method, `"key"` or `"token"`.
Additional arguments passed to [tuber_GET()].
https://developers.google.com/youtube/v3/docs/comments/list
if (FALSE) { list_comments(comment_ids = "COMMENT_ID") list_comments(parent_id = "PARENT_COMMENT_ID", max_results = 200) }
Run the code above in your browser using DataLab