list_get | R Documentation |
Looks up information about a list.
list_get(
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, user = NULL)
Fields: set_fields(place = NULL, poll = NULL, media = NULL, tweet = NULL)
.
https://developer.twitter.com/en/docs/twitter-api/lists/list-lookup/api-reference/get-lists-id
if (FALSE) {
lg <- list_get("1306285118877831168")
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.