Gets information on friendship between two Twitter users.
lookup_friendships(source, target, parse = TRUE, token = NULL)
Data frame converted form returned JSON object. If parse is not true, the HTTP response object is returned instead.
Screen name or user id of source user.
Screen name or user id of target user.
Logical indicating whether to return parsed data frame. Defaults to true.
Every user should have their own Oauth (Twitter API) token. By
default token = NULL
this function looks for the path to a saved
Twitter token via environment variables (which is what `create_token()`
sets up by default during initial token creation). For instruction on how
to create a Twitter token see the tokens vignette, i.e.,
`vignettes("auth", "rtweet")` or see ?tokens
.
Other friends:
my_friendships()