Fetch post likes

Please use this (https://YOUR-SITE.COM/mobile_api/fetch_likes) API for access fetch post likes endpoint

(Fetch Repost on Post) at the moment this option is not supported by the script core


Get parameters

Field Value Remarks
session_id ​Access token ID (Optional) E.g. de25cc16eb00960f076...
post_id ​Liked/Unliked post int ID E.g. 4567
page_size ​Total records limit for each request Recommended: 20
offset Last post offset ID This is only needed when loading records of the pagination system.

Success response

{
    "valid": true,
    "code": 200,
    "message": "Likes fetched successfully",
    "data": [
        {
            "offset_id": 3,
            "id": 7,
            "about": "",
            "followers": 3512,
            "posts": 4050,
            "avatar": "http://colibri.loc/upload/default/avatar.png",
            "last_active": "18 Nov, 20 04:11 PM",
            "username": "@dan_kassing",
            "fname": "Dan",
            "lname": "Kassing",
            "email": "ibragimov.ahmat.tl@gmail.com",
            "verified": "2",
            "name": "Dan Kassing",
            "url": "http://colibri.loc/@dan_kassing",
            "is_following": false,
            "is_user": false
        },
        {...},
        {...},
        {...}
    ]
}

Error responses


{
    "code": 400,
    "err_code": "invalid_request_data",
    "message": "Post id is missing or invalid",
    "data": []
}

{
    "code": 404,
    "message": "No data found",
    "data": []
}