Saltar al contenido
Twexapi
Español
Esc
↑↓navegar↵abrir⌘Jvista previa

Get Tweet Thread by ID

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

POST/twitter/tweets/thread_by_id
Autorización de API
AuthorizationBearer token · headerrequerido
Token Bearer global para TwexAPI. Incluido como: Authorization: Bearer <YOUR_TWEXAPI_KEY>.
Cuerpo de la solicitud
requeridoapplication/json
tweet_idstringrequerido
ID numérico único del tweet
default: "1621544497388875777"
max_itemsinteger
Max number of thread tweets to return
min 1 · max 200 · default: 40
fieldsstring[] | null
Array JSON opcional de nombres de campos. Déjalo vacío para omitir fields y devolver todos los campos. Para seleccionar campos, escribe ["tweet_id","text"] sin comillas alrededor del array completo.
default: null
Respuestas
200A list of tweets in the thread, sorted by latest.
any
422Error de validación de parámetros
detailValidationError[]
Mostrar propiedades
Array of ValidationError
locstring | integer[]requerido
Mostrar propiedades
Array of string | integer
Any of:
string
string
integer
integer
msgstringrequerido
Mensaje de respuesta (ej. 'success')
typestringrequerido
inputany
ctxobject
⚡Consola interactivaPOST
⚡Consola interactiva / Probar APIPOST
Live Console
🌐Servidor objetivo:https://api.twexapi.io
● Producción lista
🔍
Lectura de datos públicos (Solo clave TwexAPI, sin cookie de Twitter)

Este endpoint consulta datos públicos de Twitter: ¡no se requiere cuenta ni Cookie de Twitter! Simplemente ingrese su clave TwexAPI (Bearer Token) en "Autorización API" para probar.

🔑Autorización API
📝Cuerpo de la solicitudapplication/json
📡
暂无响应数据

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

Solicitud
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": "1621544497388875777",
  "max_items": 40
}'
Respuesta
A list of tweets in the thread, sorted by latest.