get_timeline | R Documentation |
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.
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,
...
)
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. |
A tbl data frame of tweets data with users data attribute.
https://developer.twitter.com/en/docs/twitter-api/v1/tweets/timelines/overview
user_timeline()
, rtweet-deprecated
Other tweets:
get_favorites()
,
get_mentions()
,
lists_statuses()
,
lookup_tweets()
,
search_tweets()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.