lists_subscriptions.Rd
Get list subscriptions of a given user.
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 | Every user should have their own Oauth (Twitter API) token. By
default |
Other lists: lists_members
,
lists_statuses
,
lists_subscribers
,
lists_users
# NOT RUN { ## get subscriptions of new york times politics list rstats <- lists_subscriptions( slug = "new-york-times-politics", n = 1000 ) # }