--- title: "X/Twitter Automation from Chat" type: source tags: ["openclaw", "twitter", "x", "automation", "social-media", "plugin"] date: 2026-04-27 --- ## Source File - [[raw/Agent/usecases/x-twitter-automation.md]] ## Summary(用中文描述) - 核心主题:通过自然语言在聊天中完成 X/Twitter 全功能自动化操作 - 问题域:X/Twitter 账号管理需要在 App、第三方仪表盘和数据分析工具之间来回切换,缺乏统一的对话式交互界面 - 方法/机制:TweetClaw(OpenClaw 插件)通过 X/Twitter 官方托管 API 连接 Agent,提供发推/互动、搜索提取、抽奖工具、账号监控四大功能模块 - 结论/价值:用一个聊天界面替代所有 X/Twitter 管理工具,所有操作通过托管 API 完成,无 Cookie、无爬虫、无凭证暴露 ## Key Claims(用中文描述) - TweetClaw 插件通过自然语言交互实现 X/Twitter 全功能操作(发帖、回复、点赞、转发、关注、DM、搜索、数据提取、抽奖选人、账号监控) - 抽奖功能支持可配置的筛选条件(最低粉丝数、账号年龄、关键词要求),从推文互动用户中随机抽取获奖者 - 账号监控功能可追踪指定账号的新推文或粉丝变化并发送通知 - 所有 API 操作通过 TweetClaw 托管服务完成,无需浏览器 Cookie、无爬虫脚本、无凭证暴露 ## Key Quotes > "Managing an X/Twitter presence requires jumping between the app, third-party dashboards, and analytics tools." — 痛点描述 > "All actions go through a managed API — no browser cookies, no scraping, no credential exposure." — 安全性说明 ## Key Concepts - [[X/Twitter-API-Automation]]:通过 API 接口程序化控制 X/Twitter 账号行为,替代手动操作或爬虫方案 - [[Social-Media-Giveaway]]:通过程序化方式从推文互动用户中随机抽取获奖者,支持多条件筛选 - [[Account-Monitoring]]:持续追踪指定账号的内容发布或粉丝变动并触发通知 ## Key Entities - [[TweetClaw]]:OpenClaw 插件,通过 @xquik/tweetclaw npm 包安装,连接 Agent 与 X/Twitter API - [[Xquik-dev]]:TweetClaw 的开发公司,维护 GitHub 仓库和 npm 包 - [[OpenClaw]]:多 Agent 框架,提供持久化记忆和 Plugin 系统,TweetClaw 的宿主平台 ## Connections - [[X-Account-Analysis]] ← related ← [[x-twitter-automation]](两者同属 X/Twitter 场景,X-Account-Analysis 侧重数据分析,本页面侧重自动化操作) - [[Content-Factory]] ← extends ← [[x-twitter-automation]](Content-Factory 的社交媒体发布能力可由 TweetClaw 提供支持) - [[x-twitter-automation]] ← depends_on ← [[OpenClaw]](TweetClaw 以 OpenClaw Plugin 形式运行,依赖 OpenClaw 的 Agent 执行环境) - [[n8n-workflow-orchestration]] ← complementary ← [[x-twitter-automation]](n8n Webhook 模式可作为 TweetClaw API 的安全凭证托管层) ## Contradictions - 无已知冲突。与 [[x-account-analysis]] 互补——分析 vs 操作,共同构成 X/Twitter 场景的完整能力覆盖