Description Usage Arguments See Also Examples
Favorites target status id.
1 2 | post_favorite(status_id, destroy = FALSE, include_entities = FALSE,
token = NULL)
|
status_id |
Status id of target tweet. |
destroy |
Logical indicating whether to post (add) or remove (delete) target tweet as favorite. |
include_entities |
Logical indicating whether to include entities object in return. |
token |
OAuth token. By default |
Other post: post_follow
,
post_friendship
, post_tweet
1 2 3 4 5 | ## Not run:
rt <- search_tweets("rstats")
r <- lapply(rt$user_id, post_favorite)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.