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

View source: R/lists_users.R

lists_usersR Documentation

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

Description

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

Usage

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

Arguments

user

Character vector of screen names or user ids. See as_screenname() for more details.

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

Expert use only. Use this to override authentication for a single API call. In most cases you are better off changing the default for all calls. See auth_as() for details.

parse

If TRUE, the default, returns a tidy data frame. Use FALSE to return the "raw" list corresponding to the JSON returned from the Twitter API.

Value

data

See Also

Other lists: lists_members(), lists_statuses(), lists_subscribers(), lists_subscriptions()

Examples

if (auth_has_default()) {

## get lists subscribed to by R_Foundation
lists_users("ropensci")

}


rtweet documentation built on July 21, 2022, 5:10 p.m.