Description Usage Arguments See Also Examples
View source: R/lists_subscriptions.R
Get list subscriptions of a given user.
1 | lists_subscriptions(user, n = 20, cursor = "-1", parse = TRUE, token = NULL)
|
user |
Either the user ID or screen name of user. |
n |
Specifies the number of results to return per page (see cursor below). The default is 20, with a maximum of 1000. |
cursor |
Causes the collection of list members to be broken into "pages" of consistent sizes (specified by the count parameter). If no cursor is provided, a value of -1 will be assumed, which is the first "page." The response from the API will include a previous_cursor and next_cursor to allow paging back and forth. See Using cursors to navigate collections for more information. |
parse |
Logical indicating whether to convert the response object into an R list. Defaults to TRUE. |
token |
a twitter token. |
Other lists:
lists_members()
,
lists_statuses()
,
lists_subscribers()
,
lists_users()
1 2 3 4 5 6 7 8 9 10 | ## Not run:
## get subscriptions of new york times politics list
rstats <- lists_subscriptions(
slug = "new-york-times-politics",
n = 1000
)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.