Usage
getTimeline(filename, n = 3200, oauth_folder = "~/credentials", screen_name = NULL, id = NULL, since_id = NULL, trim_user = "true", sleep = 0.5, verbose = FALSE)
Arguments
filename
file where tweets will be stored (in json format)
n
number of tweets to be downloaded (maximum is 3,200)
oauth_folder
folder where OAuth tokens are stored.
screen_name
user name of the Twitter user for which his/her tweets
will be downloaded
id
id of Twitter user for which his/her tweets will be downloaded
(Use either of these two arguments)
since_id
id of the oldest tweet to be downloaded. Useful if, for
example, we're only interested in getting tweets sent after a certain
date.
trim_user
if "true", downloaded tweets will include user object
embedded. If "false", only tweet information will be downloaded.
sleep
numeric, number of seconds between API calls. Higher number
will increase reliability of API calls; lower number will increase speed.
verbose
If TRUE, provides additional output in console about API
rate limits