Skip to content

Retrieve following

Onur Akpolat edited this page Oct 28, 2016 · 1 revision

Retrieve connections of a user to show who they are following.

Endpoint

GET https://api.tapglue.com/0.4/me/follows

Example

curl https://api.tapglue.com/0.4/me/follows \
    -u [[app:key]]:SESSION_TOKEN \
    -H "User-Agent: Tapglue Test UA" \
    -H 'Accept: application/json'

Response

{
  "users": [
    {
      "id_string": "19136842595045509",
      "id": 19136842595045508,
      "custom_id": "1",
      "social_ids": {
        "facebook": "fb12345678"
      },
      "is_friend": false,
      "is_follower": false,
      "is_followed": true,
      "user_name": "Cruz",
      "first_name": "Cruz",
      "last_name": "Karyn",
      "email": "[email protected]",
      "url": "myapp://users/3",
      "metadata": {
        "foo": "bar"
      },
      "images": {
        "avatar": {
          "url": "https://mydomain.com/users/1/avatar.jpg",
          "width": 400,
          "height": 400
        },
        "avatar_thumb": {
          "url": "https://mydomain.com/users/1/avatar_thumb.jpg",
          "width": 150,
          "height": 150
        }
      },
      "enabled": true
    }
  ],
  "users_count": 1
}
Clone this wiki locally