post_follow: Follows target twitter user.

Description Usage Arguments See Also Examples

View source: R/post.R

Description

Follows target twitter user.

Usage

1
2
3
4
5
6
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

1
2
3
4
## Not run: 
post_follow("BarackObama")

## End(Not run)

nicolofcavalli/rtweet documentation built on Jan. 26, 2020, 1 a.m.