| post_favorite {rtweet} | R Documentation |
Favorites target status id.
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()
## Not run:
rt <- search_tweets("rstats")
r <- lapply(rt$user_id, post_favorite)
## End(Not run)