Like / Unlike post

Please use this (https://chickschirp.com/mobile_api/like_post) API for access (like/unlike) post endpoint


Post parameters

Field Value Remarks
session_id ​Access token ID E.g. de25cc16eb00960f076...
post_id ​Liked/Unliked post int ID E.g. 4567

Success response

{
        "post_likes": 1,
        "message": "",
        "code": 200,
        "data":{
            "like": true
        }
    }
    

Error responses

{
        "code": 401,
        "data": [],
        "message": "Unauthorized Access"
    }


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