Overview
The Like Post endpoint allows you to like a specific post. You can provide either a numeric post ID or a full post URL.Authentication
Requires a valid API key with a connected X account.Input
| Field | Type | Description |
|---|---|---|
tweet_id | string | Required. A numeric post ID or full post URL |
Credit Usage
This endpoint charges 1 credit per like.Notes
- If the post is already liked, the response will include
already_done: true - Accepts both numeric IDs (
"1234567890123456789") and full URLs ("https://x.com/user/status/1234567890123456789")