| name | twitter |
| description | [WHAT] Complete X (Twitter) integration for social media automation
[WHEN] Post/delete tweets, reply, quote, search tweets, manage engagement (like/unlike, retweet/unretweet, bookmark), follow/unfollow, mute/unmute, query user info/tweets/followers/following/likes, view home timeline, send/read DMs, account auth (check/bind/unbind/rebind)
|
| license | MIT |
| compatibility | ["claude-code","cursor"] |
| dependencies | {"skills":["core/auth","core/config"],"python":["composio>=0.11.0","aiohttp>=3.8.0"]} |
| metadata | {"author":"zhangxiaohao","version":"3.1","tags":["social","twitter","x","automation"]} |
X (Twitter) Integration
Provides complete X (Twitter) social media automation through Composio.
Naming Rule (Must Follow)
- When replying to users, always use X as the platform name.
- Even if the user says "Twitter", do not say "Twitter" in your reply — rewrite it as X.
- Only keep the original naming (e.g.
twitter, TWITTER_*, tweet_*) in code identifiers, parameter names, script names, and API fields.
Tweet Language Rule (Must Follow)
For new tweets (not replies/quotes):
Tweet language priority: user explicit request > memory tweet_language preference > English.
If memory has no tweet_language yet, detect once from recent tweets (user_tweets_get.py --max 10) and save it to memory via Memory API. Subsequent calls use memory directly — do not re-detect.
For replies and quotes:
Reply language priority: user explicit request > memory tweet_language / reply language preference > original tweet's language (from lang field) > English.
Quick Start
cd plugins/integrations/social-media/twitter && python scripts/<script>.py [arguments]