get_favorites | R Documentation |
Returns up to 3,000 tweets liked/favorited for each user
.
get_favorites(
user,
n = 200,
since_id = NULL,
max_id = NULL,
parse = 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 |
parse |
If |
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 |
A tibble with one row for each tweet.
rtweet-deprecated
Other tweets:
get_mentions()
,
get_timeline()
,
lists_statuses()
,
lookup_tweets()
,
search_tweets()
if (FALSE) {
get_favorites("KFC")
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.