-
Notifications
You must be signed in to change notification settings - Fork 0
Get friends ids
Rafael Chacon edited this page Feb 22, 2012
·
1 revision
Return all friends ids for specified user (users followed by specified user).
###URL:
GET http://public_api.piictu.com/v2/users/<user id>/friends/ids
###HTTP method(s): GET
###Requires authentication (Authentication and Authorization): Yes
###Usage example:
Example using cURL:
curl -i http://public-api.piictu.com/v2/users/4d99eb672696e71604000001/friends/ids \
-H "Authorization: OAuth 2540af0de12cb2367691516b8477b0b7bd66dbd8ab6840b147340c6898c4eebd"###Response:
On success
- HTTP response code is
200(ok) - HTTP response body is a JSON string like this:
{
"friends_id": [
"4da9ca7ffe07656dcf000014",
"4d812cfbe048d96037000003",
"4d9bb74945984463e5000004",
"4dadcca9beadce44f4000001",
"4deeb891ce4b9b0001000277",
"4def609554782e00010004e8"
]
}