Retrieve number of followers and tweets

get_account_info(
  user = "talk_rspatial",
  dir = ".",
  timeline_file = "timeline_rspatial.rds",
  log = TRUE,
  logfile = "rtweet_info.log",
  token = NULL
)

Arguments

user

user names or user IDs

dir

Directory where to save data

timeline_file

timeline filename relative to dir

log

Logical. log file

logfile

lofile name relative to dir

token

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")'.