Social

# X (Twitter) Connector

Post tweets, threads, replies. Like and unlike. Read mentions. Send DMs. BYOK OAuth 2.0 Bearer tokens. Some endpoints may require X API Basic tier ($100/mo) per X's tier policies — tier-gated 403s are mapped to PermissionDeniedError.

$pip install "toolsconnector[x]"
9
Actions
Social
Category
Free
Apache 2.0

## All 9 Actions

Action | Description | Parameters | Returns
--- | --- | --- | ---
`create_thread ⚠` | Post a thread of tweets sequentially | texts | `list`
`create_tweet ⚠` | Post a tweet on behalf of the authenticated user | text [reply_to_tweet_id, quote_tweet_id] | `Tweet`
`delete_tweet ⚠` | Delete a tweet you authored | tweet_id | `bool`
`get_me` | Get the authenticated X user's profile | — | `XUser`
`like_tweet ⚠` | Like a tweet on behalf of the authenticated user | user_id, tweet_id | `NoneType`
`list_mentions` | List recent tweets that mention the user | user_id [max_results, pagination_token] | `PaginatedList[Tweet]`
`reply_to_tweet ⚠` | Reply to a tweet | tweet_id, text | `Tweet`
`send_dm ⚠` | Send a direct message to another X user | participant_id, text | `XDirectMessage`
`unlike_tweet ⚠` | Unlike a previously-liked tweet | user_id, tweet_id | `NoneType`

Open Interactive Docs & Playground →

Full schema explorer, code generation, and live API testing