πΈ Social Media
Like or unlike comment
The API endpoint enables users to like or unlike a social media comments.
By accessing this endpoint, users can interact with the comment by either liking or unliking it.
post/social-media/like/comment/{commentId}
Request
- Base URLhttps://api.freeapi.app/api/v1
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Response
Like or unlike post Copy
Example response
{
"data": {
"isLiked": true
},
"message": "Liked successfully",
"statusCode": 200,
"success": true
}Changes
No recorded changes to this operation across all 1 revision of this API.