Aller au contenu
Twexapi
Français
Esc
naviguerouvrir⌘Japerçu

Get Tweet Thread by ID

Retrieve all tweets in a thread by tweet ID, sorted by latest.

POST/twitter/tweets/thread_by_id
Autorisation API
AuthorizationBearer token · headerrequis
Jeton Bearer global pour TwexAPI. Inclus sous la forme : Authorization: Bearer <YOUR_TWEXAPI_KEY>.
Corps de la requête
requisapplication/json
tweet_idstringrequis
ID unique du tweet
max_itemsinteger
Max number of thread tweets to return
min 1 · max 200 · default: 40
fieldsstring[] | any
Fields to include in each tweet. If omitted, all fields are returned.
Afficher les propriétés
Any of:
string[]
Array of string
string
any
any
Réponses
200A list of tweets in the thread, sorted by latest.
any
422Erreur de validation des paramètres
detailValidationError[]
Afficher les propriétés
Array of ValidationError
locstring | integer[]requis
Afficher les propriétés
Array of string | integer
Any of:
string
string
integer
integer
msgstringrequis
Message de réponse (ex. 'success')
typestringrequis
inputany
ctxobject
Console interactivePOST
Console interactive / Tester l'APIPOST
Live Console
🌐Serveur cible :https://api.twexapi.io
● Prêt pour la production
🔍
Lecture de données publiques (Clé TwexAPI uniquement, aucun Cookie Twitter)

Ce point d'accès consulte des données publiques — aucun compte ni Cookie Twitter requis ! Entrez simplement votre clé TwexAPI (Bearer Token) ci-dessous pour tester.

🔑Autorisation API
📝Corps de la requêteapplication/json
📡
暂无响应数据

请在「请求配置」中确认参数后,点击底部的「发送请求」按钮。

Requête
curl -X POST "https://api.twexapi.io/twitter/tweets/thread_by_id" \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "tweet_id": "string",
  "max_items": 40,
  "fields": [
    "string"
  ]
}'
Réponse
A list of tweets in the thread, sorted by latest.