Users search socialids

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

Search for a social platform and set of social ids in your network.

Endpoint

POST https://api.tapglue.com/0.4/users/search/platform

Params

Name Type
platform string

Example

curl https://api.tapglue.com/0.4/users/search?social_platform=facebook&socialid=fb12345&socialid=fb678910 \
-u [[app:key]]:SESSION_TOKEN \
-H 'Accept: application/json'
-d "{\"ids\":[\fb1234567\",\"fb7654321\"]}"

Response

{
  "users": [
    {
      "id_string": "19299254468087941",
      "id": 19299254468087940,
      "custom_id": "2",
      "social_ids": {
        "facebook": "fb12345"
      },
      "is_friend": false,
      "is_follower": false,
      "is_followed": false,
      "user_name": "Owen",
      "first_name": "Owen",
      "last_name": "Dai",
      "email": "user2@mail.com",
      "url": "myapp://users/2",
      "metadata": {
        "foo": "bar"
      },
      "images": {
        "avatar": {
          "url": "https://mydomain.com/users/2/avatar.jpg",
          "width": 400,
          "height": 400
        },
        "avatar_thumb": {
          "url": "https://mydomain.com/users/2/avatar_thumb.jpg",
          "width": 150,
          "height": 150
        }
      },
      "enabled": true
    },
    {
      "id_string": "19299280825094277",
      "id": 19299280825094276,
      "custom_id": "1",
      "social_ids": {
        "facebook": "fb678910"
      },
      "is_friend": false,
      "is_follower": false,
      "is_followed": false,
      "user_name": "Zephania",
      "first_name": "Zephania",
      "last_name": "Janna",
      "email": "user1@mail.com",
      "url": "myapp://users/1",
      "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": 2
}
Clone this wiki locally
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.