X Twitter Getusersposts
1.24积分/次
ae_x_twitter_getusersposts
根据用户ID分页读取账号发布的近期帖子。
1.24积分/次
价格说明
1.24积分/次 按查询次数计费。查询成功但未返回结果时,也会扣除积分。
1.24积分/次
工具参数
未传入的可选参数将使用平台默认值。
| 参数 | 类型 | 必填 | 说明 | 默认值 |
|---|---|---|---|---|
id | string | 是 | 用户ID,填写数字字符串。 Numeric user ID. | — |
pagination_token | string | 否 | 上一页返回的分页标记。首次查询不填;不能自行编造。 Pagination token returned by the previous page. Omit for the first page; do not invent a token. | — |
调用示例
复制请求代码,查看对应的返回示例。
POST
/agent-api/v1/tool/executeX-Api-Key请求代码request.sh
curl --request POST \
--url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_x_twitter_getusersposts' \
--header "X-Api-Key: $AGENTEARTH_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"params": {
"id": "2052434492263178240"
}
}'返回示例response.json
{
"code": 200,
"data": {
"next_cursor": "DAAHCgABHW3ALs____sLAAIAAAATMjEyMDI4MjYzMDQyMzc2NTE0NwgAAwAAAAIAAA",
"pinned": {
"author": {
"avatar": "https://pbs.twimg.com/profile_images/2118391505811329024/lN2GzKvh_normal.jpg",
"blue_verified": true,
"followers_count": 113264,
"name": "Muse",
"rest_id": "2052434492263178240",
"screen_name": "Muse"
},
"bookmarks": 4650,
"conversation_id": "2097399178376671666",
"created_at": "Tue Sep 08 18:58:26 +0000 2026",
"favorites": 13396,
"lang": "en"
},
"prev_cursor": "DAAHCgABHW3ALtAAJxELAAIAAAATMjEyMDI4NTI5Njk5NDc1MDgxMwgAAwAAAAEAAA",
"status": "ok",
"timeline": [
{
"author": {
"avatar": "https://pbs.twimg.com/profile_images/2118391505811329024/lN2GzKvh_normal.jpg",
"blue_verified": true,
"followers_count": 113264,
"name": "Muse",
"rest_id": "2052434492263178240",
"screen_name": "Muse"
},
"bookmarks": 172,
"conversation_id": "2120285267286217021",
"created_at": "Tue Nov 10 22:39:35 +0000 2026",
"entities": [],
"favorites": 460
}
],
"user": {
"affiliates": null,
"avatar": null,
"blue_verified": null,
"created_at": null,
"id": null,
"name": null
}
},
"docs": "https://api.tikhub.io/#/Twitter-Web-API/fetch_user_post_tweet_api_v1_twitter_web_fetch_user_post_tweet_get",
"message": "Request successful. This request will incur a charge.",
"message_zh": "请求成功,本次请求将被计费。",
"params": {
"cursor": "",
"rest_id": "2052434492263178240"
}
}返回示例仅展示部分内容,不代表完整响应;复制内容为合法 JSON。
使用该工具的指南
看看真实工作流里怎么用这个工具




