post_favorite

0th

Percentile

Favorites target status id.

Favorites target status id.

Usage
post_favorite(status_id, destroy = FALSE, include_entities = FALSE,
  token = NULL)
Arguments
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 token = NULL fetches a non-exhausted token from an environment variable tokens.

See Also

Other post: post_follow, post_friendship, post_tweet

Aliases
  • post_favorite
  • post_favourite
  • favorite_tweet
Examples
# NOT RUN {
rt <- search_tweets("rstats")
r <- lapply(rt$user_id, post_favorite)
# }
Documentation reproduced from package rtweet, version 0.6.0, License: MIT + file LICENSE

Community examples

Looks like there are no examples yet.