Skip to main content

Check User Follower

This endpoint returns is_follower = true if the user (identified in path) follow me

info

This operation requires the community to be set to follow mode.

info

This operation requires authentication.

HTTP Request

GET /api/v2/user/{id}/is_follower/

Parameters

NameInTypeRequiredDescription
idpathstringtrueA unique integer value identifying this user

Example Request

const headers = {
'Accept':'application/json',
'Authorization: Bearer <token>'
};

fetch('/api/v2/user/{id}/is_follower/',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});

Responses

StatusMeaningDescriptionSchema
200OKResponse status codenone

Example responses

{
"is_follower": "boolean"
}