POST
/
twitter
/
tweets
/
{tweet_id}
/
like
Like a Specific Tweet
curl --request POST \
  --url https://api.twitterxapi.com/twitter/tweets/{tweet_id}/like \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "cookie": "auth_token=abc123..."
}'
{
  "code": 200,
  "msg": "success",
  "data": true
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

tweet_id
string
required

The numeric ID of the tweet to like.

Body

application/json

Body for the like action, containing only the cookie.

Response

200
application/json

A confirmation of the action's success.

Tweet action response