Get list subscriptions of a given user.

lists_subscriptions(user, n = 20, cursor = "-1", parse = TRUE,
  token = NULL)



Either the user ID or screen name of user.


Specifies the number of results to return per page (see cursor below). The default is 20, with a maximum of 1000.


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.


Logical indicating whether to convert the response object into an R list. Defaults to TRUE.


Every user should have their own Oauth (Twitter API) token. By default token = NULL this function looks for the path to a saved Twitter token via environment variables (which is what `create_token()` sets up by default during initial token creation). For instruction on how to create a Twitter token see the tokens vignette, i.e., `vignettes("auth", "rtweet")` or see ?tokens.

See also


# NOT RUN { ## get subscriptions of new york times politics list rstats <- lists_subscriptions( slug = "new-york-times-politics", n = 1000 ) # }