Users who liked a Post or Reply

Endpoint allows to get users who liked existing post or Reply

Get users who liked post or reply

GET https://api.whisk.com/v2/reaction/users

Method allows to get user list who liked reply or post.

Headers

NameTypeDescription

Authorization*

String

User Access token to authorize the API usage. For more information, see Authentication

Request Body

NameTypeDescription

reply

String

If object is a reply

target*

Object

An object for like attribute

post

String

If object is a post

paging

Object

Pagination object

limit

Int

Number of results to get on a page

cursors

Object

Cursors object

before

String

This parameter is used for cursor-based pagination.

after

String

This parameter is used for cursor-based pagination.

{
  "users": [
    {
      "id": "string",
      "first_name": "string",
      "last_name": "string",
      "username": "string",
      "picture": {
        "url": "string",
        "width": 0,
        "height": 0,
        "selection": {
          "x": 0,
          "y": 0,
          "width": 0,
          "height": 0
        }
      },
      "relation": {
        "is_following": true,
        "is_followed_by": true,
        "is_me": true
      }
    }
  ],
  "paging": {
    "cursors": {
      "after": "string",
      "before": "string"
    },
    "total": "string"
  }
}

Request body

{
  "target": {
    "reply": "string",
    "post": "string"
  },
  "paging": {
    "limit": 0,
    "cursors": {
      "after": "string",
      "before": "string"
    }
  }
}

Sample request and response

Last updated