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

Obtenir le fil d'actualité paginé

Obtenir le fil d’actualité paginé.

Retour à la référence API
/Timeline Endpoints
POST/twitter/{screen_name}/timeline/page
Autorisation API
AuthorizationBearer token · headerrequis
Jeton Bearer global pour TwexAPI. Inclus sous la forme : Authorization: Bearer <YOUR_TWEXAPI_KEY>.
Paramètres de chemin
screen_namestringrequis
Nom d'utilisateur Twitter (sans @)
Corps de la requête
requisapplication/json
next_cursorstring | any
Curseur pour récupérer la page suivante
Afficher les propriétés
Any of:
string
string
any
any
countinteger
Maximum number of tweets to return for this page.
min 1 · max 100 · default: 20
Réponses
200Current page data and pagination metadata (has_next_page, next_cursor).
codeinteger
Code d'état HTTP (200 indique le succès)
default: 200
msgstring
Message de réponse (ex. 'success')
default: "success"
dataUserTweetItem[]requis
Données principales renvoyées par l'API
Afficher les propriétés
Array of UserTweetItem
tweet_idstringrequis
ID unique du tweet
is_paid_promotionboolean
Whether the tweet is associated with a paid promotion
default: false
full_textstring | any
Texte intégral du tweet
Afficher les propriétés
Any of:
string
string
any
any
created_atstring | any
Date et heure de création (UTC)
Afficher les propriétés
Any of:
string
string
any
any
langstring | any
Tweet language
Afficher les propriétés
Any of:
string
string
any
any
conversation_idstring | any
Conversation ID
Afficher les propriétés
Any of:
string
string
any
any
bookmark_countinteger
Nombre de signets
default: 0
favorite_countinteger
Nombre de likes
default: 0
reply_countinteger
Nombre de réponses
default: 0
retweet_countinteger
Nombre de retweets
default: 0
quote_countinteger
Quote count
default: 0
view_countstring | any
Nombre de vues
Afficher les propriétés
Any of:
string
string
any
any
view_count_statestring | any
View count state
Afficher les propriétés
Any of:
string
string
any
any
author_user_idstring | any
Author user ID
Afficher les propriétés
Any of:
string
string
any
any
author_screen_namestring | any
Nom d'utilisateur de l'auteur (sans @)
Afficher les propriétés
Any of:
string
string
any
any
author_namestring | any
Nom affiché de l'auteur
Afficher les propriétés
Any of:
string
string
any
any
author_is_blue_verifiedboolean | any
Blue verification flag
Afficher les propriétés
Any of:
boolean
boolean
any
any
author_verifiedboolean | any
Legacy verification flag
Afficher les propriétés
Any of:
boolean
boolean
any
any
author_is_verified_organization_affiliateboolean | any
Verified organization affiliate flag
Afficher les propriétés
Any of:
boolean
boolean
any
any
has_next_pagebooleanrequis
Indique si une page suivante est disponible
next_cursorstring | any
Curseur pour récupérer la page suivante
Afficher les propriétés
Any of:
string
string
any
any
requested_countintegerrequis
Original count requested by the client.
effective_countintegerrequis
Count after credit throttling was applied.
parsed_countintegerrequis
Number of tweets actually parsed from the response.
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
⚙️Paramètres (1)
📝Corps de la requêteapplication/json
📡
暂无响应数据

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

Requête
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
}'
Réponse
{
  "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
}