Get followers and following of a user from the hidden API
Source:R/api_hidden.r
tt_get_following_hidden.Rd
Get up to 5,000 accounts who follow a user or accounts a user follows.
Usage
tt_get_following_hidden(
secuid,
sleep_pool = 1:10,
max_tries = 5L,
cookiefile = NULL,
verbose = TRUE
)
tt_get_follower_hidden(
secuid,
sleep_pool = 1:10,
max_tries = 5L,
cookiefile = NULL,
verbose = TRUE
)
Arguments
- secuid
The secuid of a user. You can get it with tt_videos by querying the video of an account.
- sleep_pool
a vector of numbers from which a waiting period is randomly drawn.
- max_tries
how often to retry if a request fails.
path to your cookiefile. See
vignette("unofficial-api", package = "traktok")
for more information on authentication.- verbose
should the function print status updates to the screen?
Examples
if (FALSE) { # \dontrun{
df <- tt_user_info_hidden("https://www.tiktok.com/@fpoe_at")
tt_get_follower_hidden(df$secUid)
} # }