View source: R/hidden_endpoints.R
get_video_comments | R Documentation |
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)
video_id |
A numeric. Video ID for the comments to extract. |
A list of comments related to the requested video_id
. NULL
is returned if the video_id
does not exist.
Other Hidden Endpoints:
get_chatters()
## Not run: library(twitchr) twitch_auth() video_comments <- get_video_comments(822494395) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.