RESTful API

 

/api/v2/followers

Request Type
GET
 
Returns the total number of followers for the identity.
 
Example URL
https://example.stitchz.net/api/v2/folowers?identity=http%3a%2f%2fwww.facebook.com%2f3408Rq4958qw3
 
Supported Providers
 
Request
Required Parameter Type Description
yes Bearer string The application's unique Oauth2 bearer token (access token) in the request header
yes Identity string The identity string provided by Stitchz when the user logged in.
  Format string The format of the authenticated Stitchz response, XML, JSON, JSONP. A query string parameter can be included in the request (e.g. ?format=json) or a header variable of "Accept" with the proper value, e.g. 'application/json', 'application/xml', etc. The default response is in "JSON" format.
Example Request
$ curl -H "Authorization: Bearer e72e16c7e42f292c6912e7710c838347ae178b4a"
-H "Accept: application/json"
-A "example client"
https://example.stitchz.net/api/v2/followers?identity=http%3a%2f%2fwww.facebook.com%2f3408Rq4958qw3

GET /api/v2/followers?identity=http%3a%2f%2fwww.facebook.com%2f3408Rq4958qw3 HTTP/1.1
User-Agent: example client
Host: example.stitchz.net
Accept: application/json
Authorization: Bearer e72e16c7e42f292c6912e7710c838347ae178b4a
Response
The response is a total count of followers for the identity provided.
 
Example XML Response
Example JSON Response
<response status="ok" version="1">
    <count>29</count>
</response>
{
"status":"ok","version":1,"count":29
}