Lists a specified user is a member of.Source:
Lists a specified user is a member of.
list_membership( ids, n = 100, expansions = NULL, fields = NULL, ..., token = NULL, parse = TRUE, verbose = FALSE )
A list id.
Number of users to query.
NULLto not use any expansion, set
NAto get all expansions, or provide a vector with the expansions you want (create it with
NULLto not use any field, get all allowed fields with
NA, provide a list with the fields you want (create it with
Other parameters passed to the body of the request.
These endpoints only accept a bearer token (can be created via
rtweet_app()). In most cases you are better of changing the default for all calls via
TRUE, the default, returns a tidy data frame. Use
FALSEto return the "raw" list corresponding to the JSON returned from the Twitter API.
A logical value to provide more information about paginated queries.
A data.frame with information of the list: id, name.
Other information depends on the
Accepted values are:
set_expansions(tweet = NULL, user = NULL).
set_fields(place = NULL, poll = NULL, media = NULL).