Check Follow Relationship
curl --request GET \
--url https://api.omnixapi.com/api/v1/twitter/user/check_follow_relationship \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.omnixapi.com/api/v1/twitter/user/check_follow_relationship', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.omnixapi.com/api/v1/twitter/user/check_follow_relationship"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"status": true,
"data": {
"sourceUserName": "<string>",
"targetUserName": "<string>",
"sourceFollowsTarget": true,
"targetFollowsSource": true,
"canDm": true,
"blocking": true,
"blockedBy": true,
"muting": true,
"followRequestSent": true,
"notificationsEnabled": true,
"canMediaTag": true
},
"error": null
}Users
Check Follow Relationship
The relationship between two users (follows, can DM, blocking, muting, etc.).
GET
/
user
/
check_follow_relationship
Check Follow Relationship
curl --request GET \
--url https://api.omnixapi.com/api/v1/twitter/user/check_follow_relationship \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.omnixapi.com/api/v1/twitter/user/check_follow_relationship', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.omnixapi.com/api/v1/twitter/user/check_follow_relationship"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"status": true,
"data": {
"sourceUserName": "<string>",
"targetUserName": "<string>",
"sourceFollowsTarget": true,
"targetFollowsSource": true,
"canDm": true,
"blocking": true,
"blockedBy": true,
"muting": true,
"followRequestSent": true,
"notificationsEnabled": true,
"canMediaTag": true
},
"error": null
}Authorizations
Your OmniX API key, e.g. omnix_live_.... Billed per call.
Query Parameters
The X account auth_token cookie the action runs as.
The viewer handle.
The target handle.
Optional outbound proxy for this call (http:// or https://, optionally user:pass@host:port). The X request runs through it — useful for geo-routing or spreading calls across IPs. SOCKS proxies are not supported.