Tweet Monitor Pro
Commercial X/Twitter scraping skill for OpenClaw. No login, no API keys required.
Features
✅ Zero-dependency basics: Fetch single tweets without Camofox
✅ Advanced features: Reply threads, user timelines, Google search (requires Camofox)
✅ Chinese platforms: Weibo, Bilibili, CSDN, WeChat Articles (some without Camofox)
✅ Quota management: Subscription-based usage limits
✅ SkillPay ready: Optional integration for automatic billing
Subscription Plans
| Plan | Price/Month | Quota | Features |
|---|
| Free | $0 | 10 calls | Single tweet fetch |
| Pro |
$1.9 | 1,000 calls | All basic + timelines + replies + search |
| Business | $9.9 | Unlimited | Everything + API access + priority support |
Quick Start
1. Install
CODEBLOCK0
2. (Optional) Start Camofox for Advanced Features
CODEBLOCK1
3. Use
CODEBLOCK2
Tools
| Tool | Description | Quota Cost | Plan Required |
|---|
| INLINECODE0 | Fetch single tweet (content + stats) | 1 call | Free+ |
| INLINECODE1 |
Fetch tweet + all replies (nested) | 3 calls | Pro+ |
|
fetchTimeline | Fetch user timeline (max 300) | 1 per 50 tweets | Pro+ |
|
monitorUser | Incremental monitor for new mentions | 1 per check | Pro+ |
|
getQuota | Check remaining quota | 0 | All |
|
upgradePlan | Upgrade subscription plan | 0 | All |
Commercial Integration
SkillPay.me Integration (Optional)
- 1. Create your skill on SkillPay.me
- Get API key and skill ID
- Set environment variables:
CODEBLOCK3
The skill will automatically report usage and trigger billing.
Technical Details
- - Basic fetching: Uses FxTwitter public endpoint (no authentication)
- Advanced fetching: Camofox + Nitter (bypasses Cloudflare)
- Chinese platforms: Camofox renders JS + custom parsers
- Output format: Standard JSON (text, stats, media URLs)
FAQ
Q: Why can't I fetch some tweets?
A: Protected accounts or X restrictions. Public accounts usually work.
Q: What is Camofox?
A: An anti-detection browser service running on localhost:9377. Used to bypass Cloudflare and JavaScript challenges for advanced features.
Q: What happens when my quota runs out?
A: Upgrade to Pro/Business or wait for monthly reset (Free plan).
Q: Can I do bulk fetching?
A: Business plan supports bulk operations via API. For Pro, call multiple times within quota.
License
MIT - Commercial use allowed.
Support
For issues and feature requests, please open an issue on GitHub.
技能名称:Tweet Monitor Pro
详细描述:
Tweet Monitor Pro
用于OpenClaw的商业X/Twitter抓取技能。无需登录,无需API密钥。
功能特性
✅ 零依赖基础功能:无需Camofox即可抓取单条推文
✅ 高级功能:回复线程、用户时间线、谷歌搜索(需Camofox)
✅ 中文平台:微博、B站、CSDN、微信公众号文章(部分无需Camofox)
✅ 配额管理:基于订阅的使用限制
✅ SkillPay就绪:可选集成,支持自动计费
订阅方案
| 方案 | 月费 | 配额 | 功能 |
|---|
| 免费版 | $0 | 10次调用 | 单条推文抓取 |
| 专业版 |
$1.9 | 1,000次调用 | 所有基础功能 + 时间线 + 回复 + 搜索 |
| 商业版 | $9.9 | 无限 | 全部功能 + API访问 + 优先支持 |
快速开始
1. 安装
bash
从ClawHub安装
openclaw skills install tweet-monitor-pro
或手动安装
cp -r tweet-monitor-pro ~/.openclaw/skills/
2.(可选)启动Camofox以使用高级功能
bash
openclaw plugins install @askjo/camofox-browser
或手动安装:git clone https://github.com/jo-inc/camofox-browser && npm install && npm start
3. 使用
javascript
// 抓取单条推文
const result = await agent.execute(tweet-monitor-pro.fetchTweet, {
url: https://x.com/user/status/123456
});
console.log(result.data.tweet.text);
// 抓取线程(回复)
const thread = await agent.execute(tweet-monitor-pro.fetchThread, {
url: https://x.com/user/status/123456
});
console.log(thread.data.replies);
// 抓取用户时间线
const timeline = await agent.execute(tweet-monitor-pro.fetchTimeline, {
username: elonmusk,
limit: 50
});
// 检查配额
const quota = await agent.execute(tweet-monitor-pro.getQuota, {});
console.log(${quota.data.used}/${quota.data.limit} 次调用已使用);
// 升级方案
await agent.execute(tweet-monitor-pro.upgradePlan, { plan: pro });
工具
| 工具 | 描述 | 配额消耗 | 所需方案 |
|---|
| fetchTweet | 抓取单条推文(内容+统计) | 1次调用 | 免费版及以上 |
| fetchThread |
抓取推文+所有回复(嵌套) | 3次调用 | 专业版及以上 |
| fetchTimeline | 抓取用户时间线(最多300条) | 每50条推文1次 | 专业版及以上 |
| monitorUser | 增量监控新提及 | 每次检查1次 | 专业版及以上 |
| getQuota | 检查剩余配额 | 0 | 所有方案 |
| upgradePlan | 升级订阅方案 | 0 | 所有方案 |
商业集成
SkillPay.me集成(可选)
- 1. 在SkillPay.me创建你的技能
- 获取API密钥和技能ID
- 设置环境变量:
bash
export SKILLPAYAPIKEY=your_key
export SKILLPAYSKILLID=yourskillid
该技能将自动报告使用情况并触发计费。
技术细节
- - 基础抓取:使用FxTwitter公共端点(无需认证)
- 高级抓取:Camofox + Nitter(绕过Cloudflare)
- 中文平台:Camofox渲染JS + 自定义解析器
- 输出格式:标准JSON(文本、统计、媒体URL)
常见问题
问:为什么我无法抓取某些推文?
答:受保护的账户或X的限制。公开账户通常可以正常抓取。
问:什么是Camofox?
答:一种运行在localhost:9377的反检测浏览器服务。用于绕过Cloudflare和JavaScript挑战,以使用高级功能。
问:配额用完后会发生什么?
答:升级到专业版/商业版,或等待每月重置(免费版方案)。
问:我可以进行批量抓取吗?
答:商业版方案支持通过API进行批量操作。专业版可在配额内多次调用。
许可证
MIT - 允许商业使用。
支持
如有问题或功能请求,请在GitHub上提交Issue。