twitterapi-io
由 dorukardahan 提供
Search & Research简介
Interact with Twitter/X via TwitterAPI.io — search tweets, get user info, post tweets, like, retweet, follow, send.
描述
该技能的功能
Connects to TwitterAPI.io to read and write Twitter/X data through 59 REST endpoints. Covers search, user lookup, posting, liking, retweeting, following, and direct messages. Read endpoints require only an API key; write actions also require login cookies and a residential proxy.
TwitterAPI.io provides access to the full Twitter API surface, including write actions, without requiring an approved Twitter Developer account.
何时使用
- Search tweets by keyword or date range
- Fetch a user's follower list and profile details
- Post a tweet with an attached image
- Monitor multiple accounts for new tweets via webhook
- Send a direct message to a specific user
示例工作流
User asks: post a tweet saying 'Hello from the agent' and attach an image
- 1
Upload the image via POST /twitter/upload_media_v2 using login_cookies and proxy, receive media_id
- 2
Call POST /twitter/create_tweet_v2 with tweet_text set to 'Hello from the agent' and media_ids containing the returned media_id
- 3
Check the response for the new tweet's id and url
- 4
Return the tweet URL to the user
Tweet posted at https://x.com/user/status/...
前置要求
- TWITTERAPI_IO_KEY API key from twitterapi.io/dashboard
- Residential proxy (required for all write actions, format: http://user:pass@host:port)
- Twitter account login cookies obtained via the user_login_v2 endpoint (required for write actions)
安装
clawhub install dorukardahan/twitterapi-io运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。