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]