TTWrite API: Fetch Post Likes

Endpoint URL

//ttwrite.4up.eu/mobile_api/fetch_likes

Description

This API retrieves the list of users who have liked a specific post on the TTWrite platform. The current version does not support fetching reposts for a post.

Parameters

FieldValueRemarks
post_idintegerThe unique identifier of the post whose likes are being fetched.
limitintegerOptional. The number of results to return per request. Default is 20.
offsetintegerOptional. The starting point for the results. Used for pagination.

Example Usage

httpCopy codeGET //ttwrite.4up.eu/mobile_api/fetch_likes?post_id=456&limit=10&offset=0

Notes

  • Authentication is required to access this API.
  • Ensure that the post_id parameter is valid and corresponds to an existing post on the platform.
  • Pagination parameters (limit and offset) are optional but recommended for managing large result sets.
  • Fetching reposts for a post is not supported in the current implementation.