Obtener timeline del usuario paginado
Obtener timeline del usuario paginado.
Volver a la referencia de API
/Timeline Endpoints
POST
/twitter/{screen_name}/timeline/pageAutorización de API
AuthorizationBearer token · headerrequeridoToken Bearer global para TwexAPI. Incluido como: Authorization: Bearer <YOUR_TWEXAPI_KEY>.
Parámetros de ruta
screen_namestringrequeridoNombre de usuario (Handle, sin @)
Cuerpo de la solicitud
requeridoapplication/jsonnext_cursorstring | anyCursor para paginación de la siguiente página
Mostrar propiedadesOcultar propiedades
Any of:
string
stringany
anycountintegerMaximum number of tweets to return for this page.
min 1 · max 100 · default: 20
Respuestas
200Current page data and pagination metadata (has_next_page, next_cursor).
codeintegerCódigo de estado HTTP (200 indica éxito)
default: 200
msgstringMensaje de respuesta (ej. 'success')
default: "success"
dataUserTweetItem[]requeridoCarga de datos devuelta por el endpoint
Mostrar propiedadesOcultar propiedades
Array of
UserTweetItemtweet_idstringrequeridoID numérico único del tweet
is_paid_promotionbooleanWhether the tweet is associated with a paid promotion
default: false
full_textstring | anyTexto completo del tweet
Mostrar propiedadesOcultar propiedades
Any of:
string
stringany
anycreated_atstring | anyFecha y hora de creación (UTC)
Mostrar propiedadesOcultar propiedades
Any of:
string
stringany
anylangstring | anyTweet language
Mostrar propiedadesOcultar propiedades
Any of:
string
stringany
anyconversation_idstring | anyConversation ID
Mostrar propiedadesOcultar propiedades
Any of:
string
stringany
anybookmark_countintegerNúmero de marcadores
default: 0
favorite_countintegerNúmero de me gusta
default: 0
reply_countintegerNúmero de respuestas
default: 0
retweet_countintegerNúmero de retweets
default: 0
quote_countintegerQuote count
default: 0
view_countstring | anyNúmero de visualizaciones
Mostrar propiedadesOcultar propiedades
Any of:
string
stringany
anyview_count_statestring | anyView count state
Mostrar propiedadesOcultar propiedades
Any of:
string
stringany
anyauthor_user_idstring | anyAuthor user ID
Mostrar propiedadesOcultar propiedades
Any of:
string
stringany
anyauthor_screen_namestring | anyNombre de usuario del autor (sin @)
Mostrar propiedadesOcultar propiedades
Any of:
string
stringany
anyauthor_namestring | anyNombre mostrado del autor
Mostrar propiedadesOcultar propiedades
Any of:
string
stringany
anyauthor_is_blue_verifiedboolean | anyBlue verification flag
Mostrar propiedadesOcultar propiedades
Any of:
boolean
booleanany
anyauthor_verifiedboolean | anyLegacy verification flag
Mostrar propiedadesOcultar propiedades
Any of:
boolean
booleanany
anyauthor_is_verified_organization_affiliateboolean | anyVerified organization affiliate flag
Mostrar propiedadesOcultar propiedades
Any of:
boolean
booleanany
anyhas_next_pagebooleanrequeridoIndica si hay más páginas disponibles
next_cursorstring | anyCursor para paginación de la siguiente página
Mostrar propiedadesOcultar propiedades
Any of:
string
stringany
anyrequested_countintegerrequeridoOriginal count requested by the client.
effective_countintegerrequeridoCount after credit throttling was applied.
parsed_countintegerrequeridoNumber of tweets actually parsed from the response.
422Error de validación de parámetros
detailValidationError[]Mostrar propiedadesOcultar propiedades
Array of
ValidationErrorlocstring | integer[]requeridoMostrar propiedadesOcultar propiedades
Array of
string | integerAny of:
string
stringinteger
integermsgstringrequeridoMensaje de respuesta (ej. 'success')
typestringrequeridoinputanyctxobject⚡Consola interactivaPOST
⚡Consola interactiva / Probar APIPOSTLive 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
⚙️Parámetros (1)
📝Cuerpo de la solicitudapplication/json
📡
暂无响应数据
请在「请求配置」中确认参数后,点击底部的「发送请求」按钮。
Solicitud
curl -X POST "https://api.twexapi.io/twitter/Ian_Codes/timeline/page" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"next_cursor": "",
"count": 20
}'const response = await fetch("https://api.twexapi.io/twitter/Ian_Codes/timeline/page", {
method: "POST",
headers: {
"Authorization": "Bearer YOUR_TOKEN",
"Content-Type": "application/json"
},
body: JSON.stringify({
"next_cursor": "",
"count": 20
})
});import requests
response = requests.post(
"https://api.twexapi.io/twitter/Ian_Codes/timeline/page",
headers={
"Authorization": "Bearer YOUR_TOKEN",
"Content-Type": "application/json"
},
json={
"next_cursor": "",
"count": 20
},
)Respuesta
{
"code": 200,
"msg": "success",
"data": [
{
"tweet_id": "string",
"is_paid_promotion": false,
"full_text": "string",
"created_at": "string",
"lang": "string",
"conversation_id": "string",
"bookmark_count": 0,
"favorite_count": 0,
"reply_count": 0,
"retweet_count": 0,
"quote_count": 0,
"view_count": "string",
"view_count_state": "string",
"author_user_id": "string",
"author_screen_name": "string",
"author_name": "string",
"author_is_blue_verified": true,
"author_verified": true,
"author_is_verified_organization_affiliate": true
}
],
"has_next_page": true,
"next_cursor": "DAAHCgABHFeD5h9__-cLAAIAAAATMjAzODIzMzA5NTM4ODY4MDU5NAgAAwAAAAIAAA",
"requested_count": 0,
"effective_count": 0,
"parsed_count": 0
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}