get_followers

0th

Percentile

get_followers

Returns max followers per token

Usage
get_followers(user, token = NULL, page = "-1")
Arguments
user
Screen name or user id of target user.
token
OAuth token (1.0 or 2.0). By default token = NULL fetches a non-exhausted token from an environment variable.
page
Default page = -1 specifies first page of json results. Other pages specified via cursor values supplied by Twitter API response object.
Value

list of follower ids and next page value (presumably this would be used in loops extracting more than 75,000 followers using either multiple tokens or by waiting out rate limits)

See Also

https://dev.twitter.com/overview/documentation

Aliases
  • get_followers
Examples
## Not run: 
# # get ids of users following the president of the US
# pres <- get_followers(user = "potus")
# pres
# 
# # get ids of users following the Environmental Protection Agency
# epa <- get_followers(user = "epa")
# epa
# ## End(Not run)

Documentation reproduced from package rtweet, version 0.1.0, License: MIT + file LICENSE

Community examples

Looks like there are no examples yet.