Aller au contenu
Twexapi
Français
Esc
↑↓naviguer↵ouvrir⌘Japerçu

Obtenir les articles d’un utilisateur par page

Fetch one page of X Articles by screen_name. Requires only a TwexAPI Bearer key. The request body is optional; omitted or null count defaults to 20, and integer values are clamped to 1–20. Pass next_cursor from the previous response to continue. The current implementation returns a continuation cursor only when at least count articles were parsed and the upstream supplied a cursor; a short or empty page therefore ends pagination. A missing user or exhausted result quota returns an empty page.

POST/twitter/{screen_name}/articles/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
X username with or without @.
matches \S
Corps de la requête
application/json
Any of:
object
countinteger | any
Omitted or null uses 20. Values below 1 are clamped to 1 and values above 20 to 20.
default: 20
Afficher les propriétés
Any of:
integer
integer
any
any
next_cursorstring | any
Afficher les propriétés
Any of:
string
string
any
any
any
any
Réponses
200Success
codeintegerrequis
msgstringrequis
dataXArticleModel[]requis
Afficher les propriétés
Array of XArticleModel
tweet_idstring | any
ID unique du tweet
Afficher les propriétés
Any of:
string
string
any
any
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
The language
Afficher les propriétés
Any of:
string
string
any
any
bookmark_countinteger | any
Nombre de signets
Afficher les propriétés
Any of:
integer
integer
any
any
favorite_countinteger | any
Nombre de likes
Afficher les propriétés
Any of:
integer
integer
any
any
reply_countinteger | any
Nombre de réponses
Afficher les propriétés
Any of:
integer
integer
any
any
retweet_countinteger | any
Nombre de retweets
Afficher les propriétés
Any of:
integer
integer
any
any
quote_countinteger | any
Quote count
Afficher les propriétés
Any of:
integer
integer
any
any
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
conversation_idstring | any
Conversation ID
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
Whether author is blue verified
Afficher les propriétés
Any of:
boolean
boolean
any
any
author_verifiedboolean | any
Whether author is verified
Afficher les propriétés
Any of:
boolean
boolean
any
any
author_is_verified_organization_affiliateboolean | any
Whether author is verified organization
Afficher les propriétés
Any of:
boolean
boolean
any
any
article_idstring | any
Article ID
Afficher les propriétés
Any of:
string
string
any
any
article_titlestring | any
Article title
Afficher les propriétés
Any of:
string
string
any
any
article_preview_textstring | any
Article preview text
Afficher les propriétés
Any of:
string
string
any
any
article_summary_textstring | any
Article summary text
Afficher les propriétés
Any of:
string
string
any
any
article_cover_image_urlstring | any
Article cover image URL
Afficher les propriétés
Any of:
string
string
any
any
article_blocksArticleBlock[]
Article formatting blocks
Afficher les propriétés
Array of ArticleBlock
typestringrequis
The type of the article block.
textstringrequis
Texte du message
entityRangesArticleBlockRange[]
The entity ranges of the article block.
Afficher les propriétés
Array of ArticleBlockRange
keyintegerrequis
The key of the entity range.
lengthintegerrequis
The length of the entity range.
offsetintegerrequis
The offset of the entity range.
article_plain_textstring | any
Article plain text
Afficher les propriétés
Any of:
string
string
any
any
article_markdownstring | any
Article markdown
Afficher les propriétés
Any of:
string
string
any
any
article_media_image_urlsstring[]
Article media image URLs
has_next_pagebooleanrequis
next_cursorstring | anyrequis
Afficher les propriétés
Any of:
string
string
any
any
403Authentication or credit access denied
codeintegerrequis
msgstringrequis
dataany[] | anyrequis
Afficher les propriétés
Any of:
any[]
Array of any
any
any
any
422Invalid request
codeintegerrequis
msgstringrequis
dataany[] | anyrequis
Afficher les propriétés
Any of:
any[]
Array of any
any
any
any
500Upstream or server error
codeintegerrequis
msgstringrequis
dataany[] | anyrequis
Afficher les propriétés
Any of:
any[]
Array of any
any
any
any
⚡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/example_user/articles/page" \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "count": 20,
  "next_cursor": null
}'
Réponse
{
  "code": 200,
  "msg": "success",
  "data": [],
  "has_next_page": false,
  "next_cursor": null
}