Twitter / X
Query public users, posts, communities and trends.
Check Follow Relationship
Check whether one X user follows another, in both directions, by @handle. Use this for a single targeted lookup instead of paging through get_twitter_user_followers or get_twitter_user_followings — it answers 'does A follow B, and does B follow A' in one request. Returns the relationship flags under data.
- Тип: stringsource
_user _name обязательноScreen name of the source user.
- Тип: stringtarget
_user _name обязательноScreen name of the target user.
- Тип: object · FollowRelationshipResponse200
Successful response
- Тип: objectdata
- followedТип: boolean
_by - followingТип: boolean
- Тип: stringmessage
- Тип: string enumstatusзначения
- success
- error
application/json - 400
The request could not be processed. Check the request parameters.
- 401
A valid Felo API key is required.
- 402
The request cannot proceed because a billing requirement is not met.
- 403
The account is not permitted to perform this operation.
- 429
A request or spending limit has been reached.
- 502
The service could not complete the request.
- 503
The API or billing service is temporarily unavailable.
- 504
The service timed out while processing the request.
- default
The operation failed. Keep the response request ID when contacting Felo support.
curl 'https://openapi.felo.ai/v1/beta/twitter/user/check_follow_relationship?source_user_name=&target_user_name=' \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{
"data": {
"following": true,
"followed_by": true
},
"status": "success",
"message": "string"
}