post_friendship: Updates friendship notifications and retweet abilities.

View source: R/post-user.R

post_friendshipR Documentation

Updates friendship notifications and retweet abilities.

Description

Updates friendship notifications and retweet abilities.

Usage

post_friendship(user, device = FALSE, retweets = FALSE, token = NULL)

Arguments

user

Character vector of screen names or user ids. See as_screenname() for more details.

device

Logical indicating whether to enable or disable device notifications from target user behaviors. Defaults to false.

retweets

Logical indicating whether to enable or disable retweets from target user behaviors. Defaults to false.

token

Expert use only. Use this to override authentication for a single API call. In most cases you are better off changing the default for all calls. See auth_as() for details.

References

https://developer.twitter.com/en/docs/twitter-api/v1/accounts-and-users/follow-search-get-users/api-reference/post-friendships-update

See Also

Other post: post_favorite(), post_follow(), post_tweet()


rtweet documentation built on July 21, 2022, 5:10 p.m.