Followers/ids
« Return to the list of API methods
Contents |
URL
http://yourserver/api/followers/ids.format
Description
Returns an array of the users which are following the specified user
Available formats
XML, JSON
HTTP Method
GET
Requires authentication
NO
Optional parameters
- id: The ID or username of the user you want to retrieve their followers. Example: http://yourserver/api/followers/ids.xml?id=operador
- screen_name: The username of the user you want to retrieve their followers. Example: http://yourserver/api/followers/ids.json?screen_name=operador
- user_id: The ID of the user you want to retrieve their following users. Example: http://yourserver/api/followers/ids.xml?user_id=1
Return example (XML)
curl http://yourserver/api/followers/ids.xml -G -d "id=operador"
<?xml version="1.0" encoding="UTF-8"?> <ids> <id>2</id> </ids>
Return example (JSON)
curl http://yourserver/api/followers/ids.json -G -d "id=operador"
[2]

