Skip to contents

[Works on: Research API]

Usage

tt_user_pinned_videos_api(
  username,
  fields = "all",
  cache = TRUE,
  verbose = TRUE,
  token = NULL
)

tt_get_pinned(
  username,
  fields = "all",
  cache = TRUE,
  verbose = TRUE,
  token = NULL
)

Arguments

username

vector of user names (handles) or URLs to users' pages.

fields

The fields to be returned (defaults to all)

cache

should progress be saved in the current session? It can then be retrieved with last_query() if an error occurs. But the function will use extra memory.

verbose

should the function print status updates to the screen?

token

The authentication token (usually supplied automatically after running auth_research once)

Value

A data.frame of parsed TikTok videos the user has posted

Examples

if (FALSE) { # \dontrun{
tt_get_pinned("jbgruber")
# OR
tt_user_pinned_videos_api("https://www.tiktok.com/@tiktok")
# OR
tt_user_pinned_videos_api("https://www.tiktok.com/@tiktok")
} # }