rtweet (version 0.2.0)

get_timeline: get_timeline

Description

Returns timeline of tweets from a specified Twitter user.

Usage

get_timeline(user, n = 200, max_id = NULL, parse = TRUE, token = NULL, ...)

Arguments

user
Screen name or user id of target user.
n
Numeric, number of tweets to return.
max_id
Character, status_id from which returned tweets should be older than
parse
Logical, indicating whether to return parsed (data.frames) or nested list (fromJSON) object. By default, parse = TRUE saves users from the time [and frustrations] associated with disentangling the Twitter API return objects.
token
OAuth token (1.0 or 2.0). By default token = NULL fetches a non-exhausted token from an environment variable.
...
Other arguments passed on to make_url.

Value

List consisting of two data frames. One with the tweets data for a specified user and the second is a single row for the user provided.

See Also

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