DELETE
/
twitter
/
user
/
favorite
curl --request DELETE \
  --url https://api.twitterxapi.com/twitter/user/favorite \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "tweet_id": "<string>",
  "cookie": "<string>"
}'
{
  "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.

Body

application/json

Response

200
application/json

A confirmation of the action's success.

Tweet action response

DELETE
/
twitter
/
user
/
favorite
curl --request DELETE \
  --url https://api.twitterxapi.com/twitter/user/favorite \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "tweet_id": "<string>",
  "cookie": "<string>"
}'
{
  "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.

Body

application/json

Response

200
application/json

A confirmation of the action's success.

Tweet action response