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

Description Usage Arguments Value See Also Examples

View source: R/lists_users.R

Description

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

Usage

1
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

Other lists: lists_members, lists_statuses, lists_subscribers, lists_subscriptions

Examples

1
2
3
4
5
6
7
## Not run: 

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


## End(Not run)

nicolofcavalli/rtweet documentation built on Jan. 26, 2020, 1 a.m.