list_members | R Documentation |
Looks up the users of a list.
list_members(
ids,
n = 100,
expansions = NULL,
fields = NULL,
...,
token = NULL,
parse = TRUE,
verbose = FALSE
)
ids |
A list id. |
n |
Number of users to query. |
expansions |
Set |
fields |
Set |
... |
Other parameters passed to the body of the request. |
token |
These endpoints only accept a bearer token (can be created via
|
parse |
If |
verbose |
A logical value to provide more information about paginated queries. |
A data.frame with the user information of who is included in the list: id, name, and username.
Other information depends on the expansions
and fields
requested.
Accepted values are:
Expansions: set_expansions(tweet = NULL, list = NULL)
Fields: set_fields(place = NULL, poll = NULL, media = NULL, list = NULL)
.
https://developer.twitter.com/en/docs/twitter-api/lists/list-lookup/api-reference/get-lists-id
if (FALSE) {
lm <- list_members("1306285118877831168")
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.