get_friends_recommendation

Description

Get recommended users collection for the specified user based on his connections with other users in his mesh.

As result you will get also the number of connections with the other users. The maximum number of results for this call is 5 recommended relationships.

URL

https://social.topoos.com/VERSION/USR/recommendations.FORMAT

Available Format

JSON

HTTP Method

GET

Accepted Version

1

Require

Authorization.

Headers

Parameters

  • access_token: (Required) access_token to current authorized user resources.
  • USR: (Required) origin user identifier to get its relationships counters. You can use the special value “me” for this parameter, to get the counters of the current authenticated user.

Example

https://social.topoos.com/1/me/recommendations.json?access_token=bcbb1a82-df15-47ca-b48a-0d2abb33d4ee

Reply

JSON example reply

{
   "status":{
      "description":"ok"
   },
   "relationship":[
      {
         "count":1,
         "user_id":"c0429846-8a7f-46cb-b354-526e0ac83dee",
         "name":"mgarcia",
         "connections":[]
      }
   ]
}