Follows target twitter user.

post_follow(user, destroy = FALSE, mute = FALSE, notify = FALSE,
  retweets = TRUE, token = NULL)

post_unfollow_user(user, token = NULL)

post_mute(user, token = NULL)

Arguments

user

Screen name or user id of target user.

destroy

Logical indicating whether to post (add) or remove (delete) target tweet as favorite.

mute

Logical indicating whether to mute the intended friend (you must already be following this account prior to muting them)

notify

Logical indicating whether to enable notifications for target user. Defaults to false.

retweets

Logical indicating whether to enable retweets for target user. Defaults to true.

token

OAuth token. By default token = NULL fetches a non-exhausted token from an environment variable tokens.

See also

Other post: post_favorite, post_friendship, post_tweet

Examples

# NOT RUN {
post_follow("BarackObama")
# }