GET /users/#{id}/friends/#{friend_id}
July 17, 2013 ยท View on GitHub
/users/#{id}/friends/#{friend_id}
Description
Check if the given user is friends with (follows) another user.
Parameters
| header | description | type | required? | default |
|---|---|---|---|---|
| id | the user id to get information from | integer | x | |
| friend_id | the user id of the friend | integer | x |
Response
200 if friends, 404 if not
Examples
https://api.eyeem.com/v2/users/1013/friends/1015
{
"message": "User 1013 is following user 1013."
}