twitterapi-io
bởi dorukardahan
Search & ResearchTóm tắt
Interact with Twitter/X via TwitterAPI.io — search tweets, get user info, post tweets, like, retweet, follow, send.
Mô tả
Kỹ năng này làm gì
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.
Khi nào nên dùng
- 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
Quy trình ví dụ
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/...
Yêu cầu
- 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)
Cài đặt
clawhub install dorukardahan/twitterapi-ioChạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.