Description Usage Arguments Value See Also Examples
Returns up to 3,200 statuses posted to the timelines of each of one or more specified Twitter users.
| 1 2 3 4 5 | 
| user | Vector of user names, user IDs, or a mixture of both. | 
| n | Number of tweets to return per timeline. Defaults to 100. Must be of length 1 or equal to length of user. | 
| max_id | Character, status_id from which returned tweets should be older than. | 
| home | Logical, indicating whether to return a user-timeline
or home-timeline. By default, home is set to FALSE, which means
 | 
| parse | Logical, indicating whether to return parsed
(data.frames) or nested list object. By default,  | 
| check | Logical indicating whether to remove check available rate limit. Ensures the request does not exceed the maximum remaining number of calls. Defaults to TRUE. | 
| token | OAuth token. By default  | 
| ... | Further arguments passed on as parameters in API query. | 
A tbl data frame of tweets data with users data attribute.
https://developer.twitter.com/en/docs/tweets/timelines/api-reference/get-statuses-user_timeline
Other tweets: get_favorites,
get_mentions, lists_statuses,
lookup_statuses,
search_tweets, tweets_data,
tweets_with_users
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | ## Not run: 
## get most recent 3200 tweets posted by Donald Trump's account
djt <- get_timeline("realDonaldTrump", n = 3200)
## data frame where each observation (row) is a different tweet
djt
## users data for realDonaldTrump is also retrieved
users_data(djt)
## retrieve timelines of mulitple users
tmls <- get_timeline(c("KFC", "ConanOBrien", "NateSilver538"), n = 1000)
## it's returned as one data frame
tmls
## count observations for each timeline
table(tmls$screen_name)
## End(Not run)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.