Skip to main content
GET
Get User TimeLine
按数字 userId 获取用户自己发布的推文,按时间倒序排列,与 X 应用中其个人主页展示的顺序一致。每页最多 20 条;传入返回的 cursor 可获取更多。可选择包含回复以及每条回复的父推文。适合用于查看某账号随时间发布的内容。此接口不支持时间范围过滤——如果需要特定时间窗口内的推文,请使用 get_twitter_user_mentions(支持 sinceTime/untilTime),或在查询中使用日期运算符配合 get_twitter_tweet_advanced_search。 如果你只有 @handle,get_twitter_user_last_tweets 同时接受 handle 或 ID。
第一次用? 把任意 MCP 客户端指向 https://mcp.aisa.one/mcp —— Claude Code、 Codex、Cursor、VS Code 都可以。鉴权走 OAuth:客户端打开浏览器,你点一次 Allow,不需要粘贴任何 key。各客户端的具体命令和每次调用的价格见 aisa.one/zh-cn/mcp。
在你的 agent 里把这个端点跑起来 →

授权

Authorization
string
header
必填

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

查询参数

cursor
string
includeParentTweet
string
includeReplies
string
userId
string
userName
string

响应

用户推文时间线

status
enum<string>
可用选项:
success,
error
code
integer

AIsa 封装层返回的提供商状态码。

msg
string
data
object
has_next_page
boolean
next_cursor
string | null