twitter by starchild-ai-agent/official-skills
npx skills add https://github.com/starchild-ai-agent/official-skills --skill twitter通过 twitterapi.io 提供对 Twitter/X 的只读访问。使用这些工具来查找推文、用户、关注者以及社交活动。
"搜索关于某个主题的推文" → twitter_search_tweets 使用操作符进行高级查询:关键词、from:用户、#话题标签、$股票标签、min_faves、日期范围。
"查找特定的一条或一组推文" → twitter_get_tweets 直接传入一个或多个推文 ID。
"这个 Twitter 账户是谁?" → twitter_user_info 个人资料数据:简介、关注者数量、推文数量、认证状态。
"这个账户最近发布了什么?" → twitter_user_tweets 特定用户的近期推文。
"谁关注了这个账户?" → twitter_user_followers 用户的关注者列表。
"这个账户关注了谁?" → twitter_user_followings 用户关注的账户列表。
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
"人们对这条推文的回复说了什么?" → twitter_tweet_replies 根据 ID 获取对特定推文的回复。
"谁转发了这条推文?" → twitter_tweet_retweeters 转发了特定推文的用户。
"查找与主题相关的账户" → twitter_search_users 通过名称或关键词搜索用户。
| 工具 | 描述 | 关键参数 |
|---|---|---|
twitter_search_tweets | 高级推文搜索 | query (必填), cursor |
twitter_get_tweets | 通过 ID 获取推文 | tweet_ids (数组, 必填) |
twitter_user_info | 用户资料查询 | username (必填) |
twitter_user_tweets | 用户的近期推文 | username (必填), cursor |
twitter_user_followers | 用户的关注者 | username (必填), cursor |
twitter_user_followings | 用户的关注列表 | username (必填), cursor |
twitter_tweet_replies | 对推文的回复 | tweet_id (必填), cursor |
twitter_tweet_retweeters | 谁转发了推文 | tweet_id (必填), cursor |
twitter_search_users | 搜索用户 | query (必填), cursor |
twitter_user_info — 获取个人资料、关注者数量、简介twitter_user_tweets — 查看他们发布的内容twitter_user_followings — 他们关注了谁(揭示兴趣)twitter_search_tweets 使用类似 "$SOL min_faves:50" 的查询 — 查找热门推文twitter_search_users 使用该主题 — 查找相关账户twitter_user_info 跟进twitter_get_tweets — 获取推文及其指标twitter_tweet_replies — 查看对话twitter_tweet_retweeters — 查看谁转发了它twitter_search_users 使用关键词(例如 "DeFi analyst")twitter_user_info 来比较关注者数量twitter_user_tweets 检查内容质量twitter_search_tweets 工具支持高级操作符:
| 操作符 | 示例 | 描述 |
|---|---|---|
| keyword | bitcoin | 包含该词的推文 |
| exact phrase | "ethereum merge" | 精确短语匹配 |
from: | from:elonmusk | 特定用户发布的推文 |
to: | to:elonmusk | 回复给某个用户的推文 |
#hashtag | #crypto | 带有话题标签的推文 |
$cashtag | $BTC | 带有股票标签的推文 |
lang: | lang:en | 按语言过滤 |
has:media | has:media | 带有图片/视频的推文 |
has:links | has:links | 带有 URL 的推文 |
is:reply | is:reply | 仅限回复 |
min_faves: | min_faves:100 | 最小点赞数 |
min_retweets: | min_retweets:50 | 最小转发数 |
since: | since:2024-01-01 | 指定日期之后的推文 |
until: | until:2024-12-31 | 指定日期之前的推文 |
组合操作符示例:from:VitalikButerin $ETH min_faves:100 since:2024-01-01
大多数端点支持基于游标的分页。当响应包含游标值时,将其作为 cursor 参数传递以获取下一页。如果没有返回游标,则表示已到达末尾。
TWITTER_API_KEY 环境变量。没有它,工具将报错。@ 前缀(例如 "elonmusk" 而不是 "@elonmusk")。每周安装量
3.1K
代码仓库
GitHub 星标数
1
首次出现
12 天前
安全审计
安装于
openclaw3.1K
opencode39
gemini-cli39
github-copilot39
codex39
amp39
Read-only access to Twitter/X via twitterapi.io. Use these tools to look up tweets, users, followers, and social activity.
"Search for tweets about a topic" → twitter_search_tweets Advanced query with operators: keywords, from:user, #hashtag, $cashtag, min_faves, date ranges.
"Look up a specific tweet or set of tweets" → twitter_get_tweets Pass one or more tweet IDs directly.
"Who is this Twitter account?" → twitter_user_info Profile data: bio, follower count, tweet count, verification.
"What has this account been posting?" → twitter_user_tweets Recent tweets from a specific user.
"Who follows this account?" → twitter_user_followers List of followers for a user.
"Who does this account follow?" → twitter_user_followings List of accounts a user follows.
"What are people saying in reply to this tweet?" → twitter_tweet_replies Replies to a specific tweet by ID.
"Who retweeted this?" → twitter_tweet_retweeters Users who retweeted a specific tweet.
"Find accounts related to a topic" → twitter_search_users Search users by name or keyword.
| Tool | Description | Key Params |
|---|---|---|
twitter_search_tweets | Advanced tweet search | query (required), cursor |
twitter_get_tweets | Get tweets by ID | tweet_ids (array, required) |
twitter_user_info | User profile lookup | username (required) |
twitter_user_info — get profile, follower count, biotwitter_user_tweets — see what they've been postingtwitter_user_followings — who they follow (reveals interests)twitter_search_tweets with query like "$SOL min_faves:50" — find popular tweetstwitter_search_users with the topic — find relevant accountstwitter_user_info on interesting accountstwitter_get_tweets — get the tweet and its metricstwitter_tweet_replies — see the conversationtwitter_tweet_retweeters — see who amplified ittwitter_search_users with keyword (e.g. "DeFi analyst")twitter_user_info on top results to compare follower countstwitter_user_tweets to check content qualityThe twitter_search_tweets tool supports advanced operators:
| Operator | Example | Description |
|---|---|---|
| keyword | bitcoin | Tweets containing the word |
| exact phrase | "ethereum merge" | Exact phrase match |
from: | from:elonmusk | Tweets by a specific user |
to: | to:elonmusk | Tweets replying to a user |
Combine operators: from:VitalikButerin $ETH min_faves:100 since:2024-01-01
Most endpoints support cursor-based pagination. When a response includes a cursor value, pass it as the cursor parameter to get the next page. If no cursor is returned, you've reached the end.
TWITTER_API_KEY environment variable. Tools will error without it.@ prefix (e.g. "elonmusk" not "@elonmusk").Weekly Installs
3.1K
Repository
GitHub Stars
1
First Seen
12 days ago
Security Audits
Gen Agent Trust HubPassSocketPassSnykWarn
Installed on
openclaw3.1K
opencode39
gemini-cli39
github-copilot39
codex39
amp39
React 组合模式指南:Vercel 组件架构最佳实践,提升代码可维护性
102,200 周安装
twitter_user_tweets | User's recent tweets | username (required), cursor |
twitter_user_followers | User's followers | username (required), cursor |
twitter_user_followings | User's followings | username (required), cursor |
twitter_tweet_replies | Replies to a tweet | tweet_id (required), cursor |
twitter_tweet_retweeters | Who retweeted | tweet_id (required), cursor |
twitter_search_users | Search for users | query (required), cursor |
#hashtag | #crypto | Tweets with hashtag |
$cashtag | $BTC | Tweets with cashtag |
lang: | lang:en | Filter by language |
has:media | has:media | Tweets with images/video |
has:links | has:links | Tweets with URLs |
is:reply | is:reply | Only replies |
min_faves: | min_faves:100 | Minimum likes |
min_retweets: | min_retweets:50 | Minimum retweets |
since: | since:2024-01-01 | Tweets after date |
until: | until:2024-12-31 | Tweets before date |