Get all lists a specified user subscribes to, including their own.

lists_users(user, reverse = FALSE, token = NULL, parse = TRUE)

Arguments

user

The ID of the user or screen name for whom to return results.

reverse

optional Set this to true if you would like owned lists to be returned first. See description above for information on how this parameter works.

token

Every user should have their own Oauth (Twitter API) token. By default token = NULL this function looks for the path to a saved Twitter token via environment variables (which is what `create_token()` sets up by default during initial token creation). For instruction on how to create a Twitter token see the tokens vignette, i.e., `vignettes("auth", "rtweet")` or see ?tokens.

parse

Logical indicating whether to convert the response object into an R list. Defaults to TRUE.

Value

data

See also

Examples

# NOT RUN {
## get lists subsribed to by Nate Silver
lists_users("NateSilver538")

# }