> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.beatapi.io/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.beatapi.io/_mcp/server.

# 怎么取一条帖子的回复，而不是账号发过的回复？

> 获取单条 X 帖子下的回复需调用 twitter.web.fetch_post_comments 并传 tweet_id；查看某账号发出的回复需调用 twitter.web.fetch_user_tweet_replies 并传 screen_name。

读取单条 X 帖子下的讨论回复，调用 `twitter.web.fetch_post_comments` 并传入该帖子的 `tweet_id`；查看某个 X 账号对外发出的回复时间线，调用 `twitter.web.fetch_user_tweet_replies` 并传入该账号的 `screen_name`。

## 区分 fetch_post_comments 与 fetch_user_tweet_replies

根据采集目标是单帖评论区还是账号发出的回复选择对应动作：

* **单条帖子下的回复（`twitter.web.fetch_post_comments`）：** 传入 `tweet_id`，例如品牌发布上线公告后，用公告帖子的 `tweet_id` 收集读者对开通日期的疑问：

```json
{"action":"twitter.web.fetch_post_comments","params":{"tweet_id":"<tweet_id>"}}
```

* **某个账号发出的回复（`twitter.web.fetch_user_tweet_replies`）：** 传入 `screen_name`，例如复盘客服账号回复过哪些用户和问题：

```json
{"action":"twitter.web.fetch_user_tweet_replies","params":{"screen_name":"<screen_name>"}}
```

## 翻查同一条帖子的下一页回复

继续获取同一条 X 帖子的更多回复时：

1. 在已保存的 `twitter.web.fetch_post_comments` 响应中找到实际返回的游标值。
2. 下一次调用 `twitter.web.fetch_post_comments` 时保持同一个 `tweet_id`，并把游标值传给 `cursor`：

```json
{"action":"twitter.web.fetch_post_comments","params":{"tweet_id":"<tweet_id>","cursor":"<saved_cursor>"}}
```

## 交接回复原句时保留原帖上下文

向团队交接引用的回复原句时，请附上该回复所回应的原帖或讨论串，确保阅读者能够核实回复语境。

[读取公告回复](/zh/guides/x-post-replies) · [BeatAPI 价格页](https://beatapi.io/zh/pricing)