Gets information on friendship between two Twitter users.

lookup_friendships(source, target, parse = TRUE, token = NULL)

Arguments

source

Screen name or user id of source user.

target

Screen name or user id of target user.

parse

Logical indicating whether to return parsed data frame. Defaults to true.

token

OAuth token. By default token = NULL fetches a non-exhausted token from an environment variable. Find instructions on how to create tokens and setup an environment variable in the tokens vignette (in r, send ?tokens to console).

Value

Data frame converted form returned JSON object. If parse is not true, the HTTP response object is returned instead.

See also

Other friends: my_friendships