Learn R Programming

rtweet (version 1.2.1)

my_friendships: Lookup friendship information between users.

Description

Gets information on friendship between authenticated user and up to 100 other users.

Usage

my_friendships(user, parse = FALSE, token = NULL)

Arguments

user

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

parse

If TRUE, the default, returns a tidy data frame. Use FALSE to return the "raw" list corresponding to the JSON returned from the Twitter API.

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/get-friendships-lookup

See Also

Other friends: lookup_friendships()