详细分析 ▾
运行时依赖
版本
首次发布,包含全面推特自动化功能。
安装命令 点击复制
技能文档
{ "name": "twitter_operations", "description": "Comprehensive Twitter/X platform automation and management", "version": "1.0.0", "category": "social_media", "enabled": true, "triggers": ["twitter", "tweet", "x.com", "social media", "twitter api"], "capabilities": [ "发布推文和推文串", "定时发布推文以获得最佳互动时间", "回复提及和私信", "按关键词、话题标签或用户搜索推文", "监控热门话题和标签", "分析推文表现和互动指标", "根据条件关注/取消关注用户", "点赞和转推内容", "创建和管理 Twitter 列表", "追踪粉丝增长和分析数据", "实现 Twitter 机器人功能", "抓取推文和用户资料", "生成带最佳标签的推文内容", "管理多个 Twitter 账号", "监控品牌提及和情感分析", "自动回复特定关键词或模式", "归档推文和用户数据", "创建 Twitter 投票", "上传和管理媒体(图片、视频、GIF)", "实现速率限制和 API 配额管理", "处理 Twitter 认证(OAuth 1.0a/2.0)", "解析和格式化推文元数据", "导出分析数据到 CSV/JSON", "推文实时流式处理", "检测和响应特定用户交互", "批量操作(批量关注/取消关注/屏蔽)", "Twitter Spaces 监控和参与", "社群管理和审核", "话题标签表现追踪", "竞争对手账号监控" ], "parameters": { "api_version": "v2", "auth_type": "oauth2", "rate_limit_mode": "conservative", "max_tweets_per_request": 100, "default_tweet_count": 10, "retry_attempts": 3, "timeout_seconds": 30, "media_upload_max_size_mb": 5, "thread_delay_seconds": 2, "auto_hashtag_limit": 5, "sentiment_analysis": true, "enable_streaming": false, "archive_tweets": true }, "dependencies": [ "tweepy>=4.14.0", "python-twitter-v2>=0.9.0", "requests>=2.31.0", "requests-oauthlib>=1.3.1", "python-dotenv>=1.0.0", "pandas>=2.0.0", "beautifulsoup4>=4.12.0", "schedule>=1.2.0", "textblob>=0.17.1", "Pillow>=10.0.0" ], "configuration": { "credentials_file": "~/.openclaw/twitter_credentials.json", "cache_dir": "~/.openclaw/cache/twitter", "log_file": "~/.openclaw/logs/twitter.log", "archive_dir": "~/.openclaw/archives/twitter" }, "api_endpoints": { "tweet": "/2/tweets", "search": "/2/tweets/search/recent", "users": "/2/users", "timeline": "/2/users/:id/tweets", "likes": "/2/users/:id/likes", "retweets": "/2/tweets/:id/retweets", "followers": "/2/users/:id/followers", "following": "/2/users/:id/following", "spaces": "/2/spaces", "lists": "/2/lists", "media": "/1.1/media/upload" }, "examples": [ { "action": "post_tweet", "description": "发布简单推文", "command": "openclaw twitter post 'Hello from OpenClaw! #automation'" }, { "action": "post_thread", "description": "发布推文串", "command": "openclaw twitter thread '推文串第1部分' '推文串第2部分' '推文串第3部分'" }, { "action": "search_tweets", "description": "搜索最近推文", "command": "openclaw twitter search '#AI OR #MachineLearning' --count 50" }, { "action": "get_trends", "description": "获取热门话题", "command": "openclaw twitter trends --location 'United States'" }, { "action": "analyze_account", "description": "分析 Twitter 账号", "command": "openclaw twitter analyze @username --metrics engagement,growth" }, { "action": "schedule_tweet", "description": "定时发布推文", "command": "openclaw twitter schedule '我的定时推文' --time '2026-02-03 10:00'" }, { "action": "auto_reply", "description": "设置提及自动回复", "command": "openclaw twitter auto-reply --keywords 'support,help' --message '感谢联系!'" }, { "action": "monitor_mentions", "description": "实时监控品牌提及", "command": "openclaw twitter monitor @brandname --alert-webhook https://hooks.example.com" }, { "action": "export_analytics", "description": "导出推文分析数据", "command": "openclaw twitter analytics --days 30 --format csv --output ~/twitter_stats.csv" }, { "action": "manage_followers", "description": "根据条件关注用户", "command": "openclaw twitter follow --search '#devops' --min-followers 100 --limit 20" } ], "error_handling": { "rate_limit_exceeded": "等待并使用指数退避重试", "authentication_failed": "检查配置文件中的凭证", "invalid_tweet": "发布前验证推文长度和媒体", "network_error": "增加超时时间后重试", "api_deprecated": "更新到最新 API 版本" }, "best_practices": [ "始终遵守 Twitter 的速率限制和服务条款", "将 API 凭证安全存储在环境变量或加密文件中", "实现适当的错误处理和日志记录", "对重要事件使用 Webhook 通知", "缓存频繁访问的数据以减少 API 调用", "发布前验证推文内容", "监控 API 使用量以避免超出配额", "对自动化操作实施渐进式增长", "批量操作间添加延迟以更像人类行为", "定期备份重要的推文数据和分析" ], "security": { "credential_encryption": true, "api_key_rotation": "recommended", "oauth_token_refresh": "automatic", "sensitive_data_filtering": true, "audit_logging": true } }
免费技能或插件可能存在安全风险,如需更匹配、更安全的方案,建议联系付费定制