Retrieve mutual followers between the authenticated account and a target X user
cURL
curl --request GET \ --url https://api.example.com/x/users/{id}/followers-you-know \ --header 'x-api-key: <x-api-key>'
curl https://xquik.com/api/v1/x/users/44196397/followers-you-know \ -H "x-api-key: xq_YOUR_KEY_HERE" | jq # Page 2 curl -G https://xquik.com/api/v1/x/users/44196397/followers-you-know \ --data-urlencode "cursor=abc123" \ -H "x-api-key: xq_YOUR_KEY_HERE" | jq
next_cursor
Show user object
{ "users": [ { "id": "987654321", "username": "xquikcom", "name": "Xquik", "followers": 10000, "verified": true, "profilePicture": "https://pbs.twimg.com/profile_images/xquik/photo.jpg" } ], "has_next_page": true, "next_cursor": "DAADDAABCgABF..." }
{ "error": "invalid_user_id" }
{ "error": "unauthenticated" }
{ "error": "no_subscription" }
{ "error": "x_api_unavailable" }
Was this page helpful?