add_follow

Description

Add a following relationship between both users, the authenticated user and the specified one.

The specified user will be followed by the current authorized user.

URL

https://social.topoos.com/VERSION/follows/add.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_b: (Required) target user identifier to follow.

Example

https://social.topoos.com/1/follows/add.json?access_token=bcbb1a82-df15-47ca-b48a-0d2abb33d4ee&usr_b=C0429846-8A7F-46CB-B354-526E0AC83DEE

Reply

JSON example reply

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