TTWrite API: Like / Unlike Post
Endpoint URL
//ttwrite.4up.eu/mobile_api/like_post
Description
This API allows the authenticated user to like or unlike a specific post on the TTWrite platform.
Parameters
Field | Value | Remarks |
---|---|---|
post_id | integer | The unique identifier of the post to like or unlike. |
action | string | Specifies the action: either like or unlike . |
Example Usage
httpCopy codePOST //ttwrite.4up.eu/mobile_api/like_post
Content-Type: application/json
{
"post_id": 456,
"action": "like"
}
Notes
- Authentication is required to access this API.
- Ensure the
post_id
corresponds to an existing post. - Use the
action
parameter to toggle between liking and unliking the post.
admin December 9, 2024 API for post interactions, like API documentation, like API parameters, like post API, like toggle API, like unlike endpoint, post engagement actions, post interaction API, post like action AP, post like functionality, toggle like API, TTWrite API, TTWrite like API, TTWrite post actions, TTWrite post engagement, TTWrite post like endpoint, TTWrite unlike functionality, TTWrite user engagement, unlike post API, user interaction API API, Social Media, TTWrite Comments Off on TTWrite API: Like / Unlike Post