Skip to main content
GET
获取用户最新推文
获取某个用户最新的推文,接受 userName(@handle)或 userId——当你还没把 handle 解析成 ID 时很有用。可选择包含回复。支持 cursor 分页。 data 下返回推文,并带 has_next_pagenext_cursor。如果你已经有数字 ID,并且需要与个人主页顺序一致、且能展开父推文的完整时间线,请改用 get_twitter_user_tweet_timeline

授权

Authorization
string
header
必填

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

查询参数

userId
string

用户的用户 ID

userName
string

用户的显示名称

cursor
string

分页游标

includeReplies
boolean
默认值:false

在结果中包含回复

响应

200 - application/json

用户推文

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

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

msg
string
data
object
has_next_page
boolean
next_cursor
string | null