Twitter

Check Twitter follow relationship

Check whether one X account follows another, by handles or numeric user ids.

get/v1/twitter/friendships

Request

  • Base URL: https://api.socialfetch.dev
  • URL: https://api.socialfetch.dev/v1/twitter/friendships
  • Auth: one of:
    • API key in header x-api-key
    • none

Query parameters

sourcestring required

Source account (the potential follower). Handle without the leading @, or numeric user id.

targetstring required

Target account (the potential followee). Handle without the leading @, or numeric user id.

by'id' | 'handle'

Treat source and target as handles or numeric user ids. Defaults to id when a value is all digits.

Response

Follow relationship.

Changes

No recorded changes to this operation across all 1 revision of this API.