| tt_comments_api | R Documentation |
tt_comments_api(
video_id,
fields = "all",
start_cursor = 0L,
max_pages = 1L,
cache = TRUE,
verbose = interactive(),
token = NULL
)
tt_comments(
video_id,
fields = "all",
start_cursor = 0L,
max_pages = 1L,
cache = TRUE,
verbose = interactive(),
token = NULL
)
video_id |
The id or URL of a video |
fields |
The fields to be returned (defaults to all) |
start_cursor |
The starting cursor, i.e., how many results to skip (for picking up an old search). |
max_pages |
results are returned in batches/pages with 100 videos. How many should be requested before the function stops? |
cache |
should progress be saved in the current session? It can then be
retrieved with |
verbose |
should the function print status updates to the screen? |
token |
The authentication token (usually supplied automatically after running auth_research once). |
A data.frame of parsed comments.
## Not run:
tt_comments("https://www.tiktok.com/@tiktok/video/7106594312292453675")
# OR
tt_comments("7106594312292453675")
# OR
tt_comments_api("7106594312292453675")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.