工具详情
采集 X(Twitter)帖子回复,导出 CSV
用 X(Twitter)Replies Scraper 导出帖子回复、作者和线程关系到 CSV。附起步输入、完整字段与整理待跟进问题的方法。
发布之后,评论区里可能同时有产品问题、普通讨论和用户之间的对话。这个 Actor 导出 X 当前返回的可见回复,并保留作者、原文链接和线程关系,方便团队逐条审核。
准备:一条公开 X 帖子链接。拿到:回复文本、作者、时间、原文链接与上下文关系。接下来:整理待回复的问题、需要补充的文档和暂不处理的讨论。分类和回复决定由你完成。
先取少量回复,并带上原帖上下文
把下方配置粘贴到 Apify JSON 输入编辑器,将 tweets 换成你的发布帖。先请求最多 20 条可见回复,并开启 includeSourcePost,方便审阅时回看问题针对什么内容。
{
"tweets": [
"https://x.com/SpaceX/status/2099220930589327483"
],
"maxRepliesPerTweet": 20,
"includeSourcePost": true,
"includeRawReply": false
}如果只需要轻量表格,可以关闭 includeSourcePost;通常也不需要打开体积较大的 includeRawReply。运行前检查当前价格与费用上限。返回数量受来源和可见性影响,不保证达到设置值。
完整输入参数
| 参数与类型 | 必填与默认值 | 含义与限制 |
|---|---|---|
tweetsstring[] |
Schema 必填无默认值
| 最多 50 条帖子输入,接受数字 ID 或完整 X/Twitter 状态链接。重复 ID 只请求一次,无效输入单独记录。 列表数量:1 … 50 |
maxRepliesPerTweetinteger |
Schema 可选100
| 每条原帖最多返回的不同可见回复数。0 会继续翻页,直到无下一页、重复页或连续三页没有新回复。 数值范围:0 … Schema 未设上限 |
includeSourcePostboolean |
Schema 可选false
| 在每条回复中附加规范化的 source_post 原帖上下文;复用同一次回复响应,不额外请求 X。 |
includeRawReplyboolean |
Schema 可选false
| 额外保留来源中的 raw_reply 原始对象及其中的作者资料,记录体积可能明显增加。 |
先看回复的是谁,再决定怎么处理
| 需要保留的内容 | 字段 | 用途 |
|---|---|---|
| 具体问题与原文 | reply_tweet_id、reply_display_text、reply_tweet_url |
以回复 ID 去重,保留证据链接。不要因作者相同就删掉另一条不同问题。 |
| 属于哪条原帖 | source_tweet_id、source_tweet_url |
将多个发布帖分开整理,不混成一张没有来源的评论表。 |
| 直接回复还是楼中楼 | is_direct_reply、reply_to_tweet_id、conversation_id |
回到父帖理解上下文。用户之间的一句回答未必是对产品的意见。 |
| 需要关联哪个账号 | author_id、author_username、author_profile_url |
用 author_id 关联其他账号工具的 user_id,用户名只作展示。 |
导出后增加你自己的 review_topic、next_action 和负责人列,先逐条审核,再分配工作。这些列不是 Actor 的原生输出。工具不会自动发回复、判定情绪或判断谁是潜在客户。
reply_*_count 是回复帖本身的指标,不是原帖的总互动量。结果包含的线程范围由 X 返回内容决定,不保证拿到所有回复。将状态行与成功回复分开,保留缺失值,不把“未返回”解释成“没有讨论”。
导出一张能处理问题的 CSV
- 在 Apify 的 Output 查看结果,确认
source_tweet_id对应你的原帖。 - 打开数据集 Export,选择 CSV;保留
status、source_tweet_id、reply_tweet_id、reply_display_text、reply_tweet_url、reply_to_tweet_id、is_direct_reply、author_id和author_username。 - 在表格里筛选
status = success,把其他状态单独检查;导入时把所有 ID 列设为文本。 - 按原帖和回复关系阅读,再填写负责人及下一步。同一作者的不同回复不要合成一条。
下方完整记录是文档示例,不是此次起步输入的新采集结果。工具采集的是平台当前返回的可见回复,不能保证与原帖显示的回复总数一致。
按结果类型查看完整记录
保留样例记录本身的全部字段,不把其他类型或未出现的可选字段补进来。真实记录、历史样例与文档示意分别标注;它们都不是实时数据。
内容记录:文档示意
{
"status": "success",
"source_tweet_id": "2097815633828172097",
"source_tweet_url": "https://x.com/i/web/status/2097815633828172097",
"source_post": {
"tweet_id": "2097815633828172097",
"text": "Source post text",
"metrics": {
"reply_count": 325,
"like_count": 9421
},
"author": {
"username": "FoxNews",
"name": "Fox News"
}
},
"reply_tweet_id": "2097842509372092418",
"reply_tweet_url": "https://x.com/JordanSchachtel/status/2097842509372092418",
"reply_text": "@FoxNews He spent six weeks at Anthropic, guys",
"reply_display_text": "He spent six weeks at Anthropic, guys",
"reply_created_at": "2026-09-10T00:20:04Z",
"reply_language": "en",
"conversation_id": "2097815633828172097",
"reply_to_tweet_id": "2097815633828172097",
"reply_to_username": "FoxNews",
"reply_to_name": "Fox News",
"is_direct_reply": true,
"reply_reply_count": 3,
"reply_retweet_count": 3,
"reply_like_count": 121,
"reply_view_count": 3503,
"reply_media": [],
"reply_is_quote": false,
"author_id": "535643852",
"author_username": "JordanSchachtel",
"author_name": "Jordan Schachtel",
"author_followers_count": 302813,
"author_blue_verified": true,
"author_profile_url": "https://x.com/JordanSchachtel"
}完整输出字段参考
查看全部 106 个字段路径
| 字段 | Schema 类型 | 含义 |
|---|---|---|
status | string | 该记录的业务状态;结合记录类型阅读,不能把失败或无结果状态当作成功数据。success invalid_input not_found no_results partial request_failed charge_limit_reached |
requested_input | string | 原始请求输入 |
source_tweet_id | string | 原帖 ID |
source_tweet_url | string | 原帖链接 |
replies_stored | integer | 已保存的回复数量 |
message | string | 状态的补充说明。 |
reply_tweet_id | string | 回复帖 ID |
reply_tweet_url | string | 回复帖链接 |
reply_text | string | 回复完整文本 |
reply_display_text | string | 回复显示文本 |
reply_display_text_range | integer[] | 来源提供的回复显示文本范围 |
reply_created_at | string | 回复创建时间(UTC) |
reply_language | string | 回复语言 |
reply_source | string | 回复使用的客户端名称 |
reply_source_url | string | 回复客户端链接 |
conversation_id | string | 会话 ID |
reply_to_tweet_id | string | 所回复的父帖 ID |
reply_to_user_id | string | 被回复的用户 ID |
reply_to_username | string | 被回复的用户名 |
reply_to_name | string | 被回复的显示名称 |
is_direct_reply | boolean | 是否直接回复原帖 |
reply_reply_count | integer | null | 回复帖自身:回复数 |
reply_retweet_count | integer | null | 回复帖自身:转发数 |
reply_like_count | integer | null | 回复帖自身:点赞数 |
reply_quote_count | integer | null | 回复帖自身:引用数 |
reply_bookmark_count | integer | null | 回复帖自身:收藏数 |
reply_view_count | integer | null | 回复帖自身:浏览数 |
reply_possibly_sensitive | boolean | 回复帖自身:来源敏感内容标记 |
reply_hashtags | string[] | 回复帖自身:话题标签 |
reply_mentions | string[] | 回复帖自身:提及账号 |
reply_urls | string[] | 回复帖自身:正文链接 |
reply_media | object[] | 回复帖自身:媒体对象 |
reply_media[].media_id | string | 所在对象 reply_media[];媒体 ID |
reply_media[].type | string | 所在对象 reply_media[];媒体类型 |
reply_media[].url | string | 所在对象 reply_media[];资源链接 |
reply_media[].post_url | string | 所在对象 reply_media[];关联帖子链接 |
reply_media[].width | integer | null | 所在对象 reply_media[];媒体宽度 |
reply_media[].height | integer | null | 所在对象 reply_media[];媒体高度 |
reply_media[].alt_text | string | 所在对象 reply_media[];媒体替代文本 |
reply_media[].duration_millis | integer | null | 所在对象 reply_media[];媒体时长(毫秒) |
reply_media[].video_variants | object[] | 所在对象 reply_media[];来源提供的视频版本 |
reply_is_quote | boolean | 回复是否引用其他帖子 |
reply_quoted_tweet_id | string | 回复所引用的帖子:帖子 ID |
reply_quoted_tweet_url | string | 回复所引用的帖子:帖子链接 |
reply_quoted_tweet_text | string | 回复所引用的帖子:tweet_text |
reply_quoted_tweet_created_at | string | 回复所引用的帖子:tweet_created_at |
reply_quoted_tweet_language | string | 回复所引用的帖子:tweet_language |
reply_quoted_author_id | string | 回复引用帖的作者:标识符 |
reply_quoted_author_username | string | 回复引用帖的作者:用户名 |
reply_quoted_author_name | string | 回复引用帖的作者:显示名称 |
author_id | string | 回复作者:标识符 |
author_username | string | 回复作者:用户名 |
author_profile_url | string | 回复作者:账号主页链接 |
author_name | string | 回复作者:显示名称 |
author_description | string | 回复作者:账号简介 |
author_description_entities | object | 回复作者:简介中的结构化元素 |
author_description_language | string | 回复作者:简介语言 |
author_location | string | 回复作者:自填地区 |
author_created_at | string | 回复作者:创建时间 |
author_followers_count | integer | 回复作者:粉丝数 |
author_following_count | integer | 回复作者:关注账号数 |
author_tweets_count | integer | 回复作者:累计帖子数 |
author_media_count | integer | 回复作者:媒体帖子数 |
author_favourites_count | integer | 回复作者:账号点赞数量 |
author_verified | boolean | 回复作者:来源认证标记 |
author_blue_verified | boolean | 回复作者:蓝标状态 |
author_protected | boolean | 回复作者:受保护账号标记 |
author_possibly_sensitive | boolean | 回复作者:来源敏感内容标记 |
author_profile_interstitial_type | string | 回复作者:账号提示类型 |
author_can_media_tag | boolean | 回复作者:媒体标记权限 |
author_professional_type | string | 回复作者:专业账号类型 |
author_professional_categories | string[] | 回复作者:专业账号分类 |
author_affiliation_name | string | 回复作者:关联机构名称 |
author_affiliation_url | string | 回复作者:关联机构链接 |
author_affiliation_badge_url | string | 回复作者:关联机构徽标链接 |
author_pinned_tweet_ids | string[] | 回复作者:置顶帖子 ID |
author_account_label | string | null | 回复作者:账号标签 |
author_profile_image_shape | string | 回复作者:头像形状 |
author_subscription_eligible | boolean | 回复作者:来源返回的订阅资格标记 |
author_bio_urls | string[] | 回复作者:简介链接 |
author_bio_mentions | string[] | 回复作者:简介中的提及账号 |
author_bio_hashtags | string[] | 回复作者:简介中的话题标签 |
author_website_url | string | 回复作者:网站链接 |
author_profile_image_url | string | 回复作者:头像链接 |
author_profile_banner_url | string | 回复作者:横幅链接 |
source_post | object | 按需返回的原帖上下文对象 |
source_post.tweet_id | string | 所在对象 source_post;帖子 ID |
source_post.tweet_url | string | 所在对象 source_post;帖子链接 |
source_post.conversation_id | string | 所在对象 source_post;会话 ID |
source_post.created_at | string | null | 所在对象 source_post;创建时间 |
source_post.text | string | 所在对象 source_post;正文 |
source_post.language | string | 所在对象 source_post;语言 |
source_post.source_name | string | 所在对象 source_post;来源客户端名称 |
source_post.is_reply | boolean | 所在对象 source_post;是否为回复 |
source_post.is_quote | boolean | 所在对象 source_post;是否为引用帖 |
source_post.is_longform | boolean | 所在对象 source_post;是否为长文 |
source_post.is_article | boolean | 所在对象 source_post;是否为 Article |
source_post.possibly_sensitive | boolean | null | 所在对象 source_post;来源敏感内容标记 |
source_post.in_reply_to | object | null | 所在对象 source_post;被回复对象 |
source_post.metrics | object | 所在对象 source_post;该帖的指标 |
source_post.entities | object | 所在对象 source_post;正文结构化元素 |
source_post.media | object[] | 所在对象 source_post;媒体对象 |
source_post.quoted_post | object | null | 所在对象 source_post;被引用帖子对象 |
source_post.article | object | null | 所在对象 source_post;Article 对象 |
source_post.author | object | 所在对象 source_post;作者对象 |
raw_reply | object | 按需返回的原始回复对象 |