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
)
user names or user IDs
Directory where to save data
timeline filename relative to dir
Logical. log file
lofile name relative to dir
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")'.