GET api.ashx/v2/users/following/isfollowing.{json|xml}
Request Parameters
| Name | Type | Location | Description | Required | Default | Options |
|---|---|---|---|---|---|---|
| FollowerId | int | Query String | Follower Id. Either FollowerUsername or FollowerId is required. | Optional | ||
| FollowerUsername | string | Query String | Follower Username, Either FollowerUsername or FollowerId is required. | Optional | ||
| FollowingId | int | Query String | Following Id. Either FollowingUsername or FollowingId is required. | Optional | ||
| FollowingUsername | string | Query String | Following Username. Either FollowingUsername or FollowingId is required. | Optional |
Example Requests
Widget Javascript
jQuery.telligent.evolution.get({
url: jQuery.telligent.evolution.site.getBaseUrl() + 'api.ashx/v2/users/following/isfollowing.json'
}).then(function(response) {
// use response
});Example Responses
JSON
{
"IsFollowing": {
"IsFollowing": true,
"Warnings": [],
"Errors": []
},
"Errors": [
"string",
"string"
]
}XML
<?xml version="1.0" encoding="utf-16"?>
<Response>
<IsFollowing>
<IsFollowing>true</IsFollowing>
</IsFollowing>
<Errors>
<Message>string</Message>
<Message>string</Message>
</Errors>
</Response>