get_timeline {rtweet} | R Documentation |
Get one or more user timelines
Description
get_timeline()
returns the timeline of any Twitter user (i.e. what they
have tweeted). get_my_timeline()
returns the home timeline for the
authenticated user (i.e. the tweets you see when you log into Twitter).
At most up to 3,200 of a user's most recent Tweets can be retrieved.
Usage
get_timeline(
user = NULL,
n = 100,
since_id = NULL,
max_id = NULL,
home = FALSE,
parse = TRUE,
check = TRUE,
retryonratelimit = NULL,
verbose = TRUE,
token = NULL,
...
)
get_my_timeline(
n = 100,
since_id = NULL,
max_id = NULL,
parse = TRUE,
check = TRUE,
retryonratelimit = NULL,
verbose = TRUE,
token = NULL,
...
)
Arguments
user |
Character vector of screen names or user ids.
See |
n |
Desired number of results to return. Results are downloaded
in pages when The Twitter API rate limits the number of requests you can perform
in each 15 minute period. The easiest way to download more than that is
to use You are not guaranteed to get exactly |
since_id |
Supply a vector of ids or a data frame of previous results to
find tweets newer than |
max_id |
Supply a vector of ids or a data frame of previous results to
find tweets older than |
home |
Logical, indicating whether to return a "user" timeline (the default, what a user has tweeted/retweeted) or a "home" timeline (what the user would see if they logged into twitter). |
parse |
If |
check |
|
retryonratelimit |
If If you expect a query to take hours or days to perform, you should not
rely solely on |
verbose |
Show progress bars and other messages indicating current progress? |
token |
Use this to override authentication for
a single API call. In many cases you are better off changing the
default for all calls. See |
... |
Further arguments passed on as parameters in API query. |
Value
A tbl data frame of tweets data with users data attribute.
References
https://developer.twitter.com/en/docs/twitter-api/v1/tweets/timelines/overview
See Also
user_timeline()
, rtweet-deprecated
Other tweets:
get_favorites()
,
get_mentions()
,
lists_statuses()
,
lookup_tweets()
,
search_tweets()