Fetch post likes

Please use this (https://1.vision/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

{
        "code": 200,
        "message": "Likes fetched successfully",
        "data": [
            {
                "offset_id": 3,
                "id": 7,
                "about": "",
                "followers": 3512,
                "posts": 4050,
                "avatar": "http://1.vision/upload/default/avatar.png",
                "last_active": "18 Nov, 20 04:11 PM",
                "username": "@simon_wilby",
                "fname": "Simon",
                "lname": "Wilby",
                "email": "[email protected]",
                "verified": "2",
                "name": "Simon Wilby",
                "url": "http://1.vision/@simon_wilby",
                "is_following": false,
                "is_user": false
            },
            {...},
            {...},
            {...}
        ]
    }
    

Error responses


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

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