lookup_friendships function

Lookup friendship information between two specified users.

Lookup friendship information between two specified users.

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: 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-show

See Also

Other friends: my_friendships()

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