powered by
Retrieves top-level comments and, when a thread response contains only a reply preview, follows `comments.list` pagination to retrieve the remaining replies.
get_all_comments(video_id, max_results = NULL, auth = "key", ...)
A data frame with one row per top-level comment or reply and snake-case column names.
Video ID.
Optional maximum total number of comments and replies. `NULL` retrieves all available comments.
Authentication method, `"key"` or `"token"`.
Additional arguments passed to [tuber_GET()].
https://developers.google.com/youtube/v3/docs/commentThreads/list https://developers.google.com/youtube/v3/docs/comments/list
if (FALSE) { get_all_comments("a-UQz7fqR3w", max_results = 100) }
Run the code above in your browser using DataLab