Friends/ids

«  Return to the list of API methods

Contents

URL

http://yourserver/api/friends/ids.format

Description

Returns an array of the users which the specified user is following

Available formats

XML, JSON

HTTP Method

GET

Requires authentication

YES

Optional parameters

Return example (XML)

curl http://yourserver/api/friends/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/friends/ids.json -G -d "id=operador"
[2]