Description Usage Arguments Value References See Also Examples
Returns up to 3,000 tweets favorited for each user
.
1 2 3 4 5 6 7 8 9 10 |
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 soley on |
verbose |
Show progress bars and other messages indicating current progress? |
token |
Expert use only. Use this to override authentication for
a single API call. In most cases you are better off changing the
default for all calls. See |
A tibble with one row for each tweet.
https://developer.twitter.com/en/docs/tweets/post-and-engage/api-reference/get-favorites-list
Other tweets:
get_mentions()
,
get_timeline()
,
lists_statuses()
,
lookup_tweets()
,
search_tweets()
1 2 3 4 5 6 7 8 9 10 11 12 | ## Not run:
# get likes for a single user
kfc <- get_favorites("KFC")
kfc
# get newer likes since last request
newer <- get_favorites("KFC", since_id = kfc)
# get likes from multiple users
favs <- get_favorites(c("Lesdoggg", "pattonoswalt", "meganamram"))
favs
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.