This uses undocumented API endpoints. This may change or break at anytime. Use at your own risk!. Given a video_id, return the comments/chat related to that video.

get_video_comments(video_id)

Arguments

video_id

A numeric. Video ID for the comments to extract.

Value

A list of comments related to the requested video_id. NULL is returned if the video_id does not exist.

See also

Other Hidden Endpoints: get_chatters()

Examples

if (FALSE) {
library(twitchr)

twitch_auth()

video_comments <- get_video_comments(822494395)
}