Twitter(现名 X)是全球最重要的社交媒体平台之一:
但 Twitter 的局限性:
TweetClaw 技能提供 40+ 功能,让 Twitter 自动化变得简单!
基础发推:
tweetclaw --action tweet --content "Hello, Twitter!"
带图片发推:
tweetclaw --action tweet \ --content "Check this out!" \ --media image.jpg
带视频发推:
tweetclaw --action tweet \ --content "Video time!" \ --media video.mp4
定时发推:
tweetclaw --action tweet \ --content "Good morning!" \ --schedule "2024-03-17 09:00"
批量发推:
tweetclaw --action batch-tweet \ --file tweets.txt \ --interval 60
自动关注:
# 关注活跃用户 tweetclaw --action follow \ --target "@elonmusk" # 批量关注 tweetclaw --action batch-follow \ --targets "user1,user2,user3" # 智能关注(关注特定话题的用户) tweetclaw --action smart-follow \ --topic "AI" \ --limit 100
自动回复:
# 回复特定推文 tweetclaw --action reply \ --tweet-id 123456789 \ --content "Great point!" # 自动回复(关键词触发) tweetclaw --action auto-reply \ --keyword "help" \ --response "How can I help you?"
自动点赞:
# 点赞某条推文 tweetclaw --action like --tweet-id 123456789 # 批量点赞 tweetclaw --action batch-like \ --tweet-ids "123,456,789" # 智能点赞(自动点赞相关内容) tweetclaw --action smart-like \ --topic "crypto" \ --limit 50
创建抽奖:
tweetclaw --action giveaway \ --tweet "Follow + RT to win!" \ --duration 24 \ --winners 3 \ --conditions "follow,retweet"
抽奖规则:
抽奖流程:
示例:
# 创建7天抽奖 tweetclaw --action giveaway \ --tweet "🎉 We hit 10K followers! To celebrate: 1️⃣ Follow @yourname 2️⃣ RT this tweet 3️⃣ Tag 3 friends Winners announced in 7 days! 🎁" \ --duration 168 \ --winners 5 \ --conditions "follow,retweet,tag:3"
账号健康度:
tweetclaw --action health-check
输出:
账号健康度报告 ┌─────────────────┬──────────┐ │ 指标 │ 分数 │ ├─────────────────┼──────────┤ │ 账号年龄 │ 老号 │ │ 活跃度 │ 高 │ │ 互动率 │ 5.2% │ │ 粉丝增长 │ +12/天 │ │ 内容质量 │ 优秀 │ └─────────────────┴──────────┘ 健康度:85/100
最佳发帖时间:
tweetclaw --action best-time \ --period 30
输出:
最佳发帖时间分析(近30天) ┌──────────┬──────────┬────────────┐ │ 时间段 │ 平均互动 │ 推荐指数 │ ├──────────┼──────────┼────────────┤ │ 09:00 │ 150 │ ⭐⭐⭐ │ │ 12:00 │ 280 │ ⭐⭐⭐⭐⭐ │ │ 18:00 │ 320 │ ⭐⭐⭐⭐⭐ │ │ 21:00 │ 210 │ ⭐⭐⭐⭐ │ └──────────┴──────────┴────────────┘ 推荐:12:00 或 18:00 发推
关键词监控:
# 实时监控关键词 tweetclaw --action monitor \ --keyword "your brand" \ --alerts email
功能:
高级搜索:
# 搜索特定内容 tweetclaw --action search \ --query "AI AND tech" \ --lang en \ --since 2024-03-01
切换账号:
tweetclaw --action switch-account --account @account2
批量管理:
# 同时发布到多个账号 tweetclaw --action multi-post \ --accounts "@acc1,@acc2,@acc3" \ --content "Hello!"
**需求:**从零建立个人品牌,涨粉到10万
使用 TweetClaw:
每日任务自动化:
#!/bin/bash # daily-twitter-growth.sh # 1. 发送早安推文 tweetclaw --action tweet \ --content "Good morning! Today's topic: #AI" \ --schedule $(date +%Y-%m-%d)" 09:00" # 2. 关注行业KOL tweetclaw --action smart-follow \ --topic "artificial intelligence" \ --limit 10 # 3. 互动10条相关推文 tweetclaw --action smart-reply \ --topic "#AI" \ --limit 10 # 4. 晚上8点发布深度内容 tweetclaw --action tweet \ --content "Deep dive into AI..." \ --schedule $(date +%Y-%m-%d)" 20:00"
效果(6个月):
**需求:**管理企业官方账号,提升品牌影响力
使用 TweetClaw:
内容日历:
#!/bin/bash # content-calendar.sh # 周一:行业资讯 tweetclaw --action tweet \ --content "Weekly Tech Roundup: ..." \ --schedule Monday 10:00 # 周三:产品更新 tweetclaw --action tweet \ --content "New Feature Alert: ..." \ --schedule Wednesday 14:00 # 周五:用户案例 tweetclaw --action tweet \ --content "Customer Spotlight: ..." \ --schedule Friday 16:00
客户服务自动化:
# 自动回复客户咨询 tweetclaw --action auto-reply \ --keyword "support" \ --response "Hi! How can we help? DM us." # 提及监控 tweetclaw --action monitor \ --keyword "@yourcompany" \ --alert slack
效果:
**需求:**举办新品发布会抽奖活动
使用 TweetClaw:
活动策划:
# 1. 活动预热(前3天) for day in {1..3}; do tweetclaw --action tweet \ --content "Teaser: Something big is coming... Day $day/3" \ --schedule "2024-03-$(expr 15 + $day) 10:00" done # 2. 活动发布 tweetclaw --action giveaway \ --tweet "🎉 New Product Launch! To celebrate: 1️⃣ Follow @yourbrand 2️⃣ RT this tweet 3️⃣ Use #YourProductLaunch 5 winners will get our new product! 🎁" \ --duration 168 \ --winners 5 \ --conditions "follow,retweet,hashtag" # 3. 活动期间互动(每天) for day in {1..7}; do tweetclaw --action tweet \ --content "Only $(expr 7 - $day) days left! Don't miss out!" \ --schedule "2024-03-$(expr 18 + $day) 12:00" done
效果:
**需求:**自动同步博客文章到 Twitter
使用 TweetClaw:
自动化流程:
#!/bin/bash # auto-post-blog.sh # 读取最新博客文章 LATEST_POST=$(curl -s https://blog.example.com/rss.xml | grep -m 1 "<link>" | sed 's/<link>//' | sed 's/<\/link>//') # 生成推文 TWEET="New blog post: $(curl -s "$LATEST_POST" | grep "<title>" | sed 's/<title>//' | sed 's/<\/title>//') Read more: $LATEST_POST #AI #Tech" # 发布推文 tweetclaw --action tweet \ --content "$TWEET" \ --media blog-preview.jpg
定时任务:
# 添加到 crontab 0 10 * * * /path/to/auto-post-blog.sh
| 功能 | 官方客户端 | 其他工具 | TweetClaw |
|---|---|---|---|
| 发推文 | ✅ | ✅ | ✅ |
| 批量操作 | ❌ | ⚠️ | ✅ |
| 自动化 | ❌ | ⚠️ | ✅ |
| 数据分析 | ⚠️ | ⚠️ | ✅ |
| 抽奖活动 | ❌ | ❌ | ✅ |
| 多账号 | ⚠️ | ⚠️ | ✅ |
| API集成 | ✅ | ⚠️ | ✅ |
| 任务 | 手动操作 | TweetClaw | 提升 |
|---|---|---|---|
| 发100条推文 | 2小时 | 5分钟 | 24倍 |
| 关注1000人 | 5小时 | 10分钟 | 30倍 |
| 抽奖活动 | 手动统计 | 自动化 | ∞ |
| 数据分析 | 手动计算 | 一键生成 | ∞ |
skillhub install tweetclaw
# 初始化配置 tweetclaw --init # 获取 API Key # 1. 访问 https://developer.twitter.com/ # 2. 创建应用 # 3. 获取 API Key 和 Secret # 4. 配置 tweetclaw --config \ --api-key "your_key" \ --api-secret "your_secret"
# 发推文 tweetclaw --action tweet --content "Hello, Twitter!" # 关注用户 tweetclaw --action follow --target "@user" # 搜索推文 tweetclaw --action search --query "#AI" # 创建抽奖 tweetclaw --action giveaway \ --tweet "Follow + RT to win!" \ --duration 24 \ --winners 3
Q:会被封号吗?
A:TweetClaw 遵循 Twitter API 使用规范,合理使用不会封号。建议不要短时间内大量操作。
Q:支持哪些语言?
A:支持所有语言,推文内容不受限制。
Q:可以同时管理多个账号吗?
A:可以!支持多账号管理和切换。
Q:抽奖活动公平吗?
A:完全随机,公开透明,参与者可以验证。
# 吸引 → 互动 → 转化 # Step 1: 发吸引人的内容 tweetclaw --action tweet --content "..." # Step 2: 自动回复互动 tweetclaw --action auto-reply --keyword "interested" --response "DM us for more!" # Step 3: 自动私信 tweetclaw --action dm --target "@user" --content "Thanks for interest! Here's the link..."
# 提前规划一周内容 tweetclaw --action schedule-week \ --template weekly-calendar.txt
# 测试不同内容效果 tweetclaw --action ab-test \ --variant-a "Content A" \ --variant-b "Content B" \ --metric engagement
Twitter 自动化,从 TweetClaw 开始!
🐦 立即安装,让你的 Twitter 运营效率提升10倍!