Friendships/exists

«  Return to the list of API methods

Contents

URL

http://yourserver/api/friendships/exists.format

Description

It checks for the relationship between user_a and user_b. When successful, user info about the user will be returned.

Available formats

XML, JSON

HTTP Method

GET

Requires authentication

YES

Required parameters

Return example (XML)

curl http://yourserver/api/friendships/exists.xml -G -d "user_a=operador&user_b=lorena"
<friends>false</friends>

Return example (JSON)

curl http://yourserver/api/friendships/exists.json -G -d "user_a=operador&user_b=lorena"
false