View source: R/list_membership.R
list_membership | R Documentation |
Lists a specified user is a member of.
list_membership(
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 information of the list: id, name.
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)
.
https://developer.twitter.com/en/docs/twitter-api/lists/list-lookup/api-reference/get-lists-id
if (FALSE) {
lm <- list_membership("20815041")
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.