post_friendship function

Updates friendship notifications and retweet abilities.

Updates friendship notifications and retweet abilities.

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: Use this to override authentication for a single API call. In many 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()

  • Maintainer: Lluís Revilla Sancho
  • License: MIT + file LICENSE
  • Last published: 2024-02-24