Twitter (X)
Social media platform for posting, searching, and engaging with tweets
Actions
| Name | Description |
|---|---|
create_tweetPost a new tweet | Post a new tweet |
search_tweetsSearch for tweets using a query | Search for tweets using a query |
get_tweetGet a tweet by ID | Get a tweet by ID |
get_userGet a user by username | Get a user by username |
get_timelineGet tweets from a user timeline | Get tweets from a user timeline |
like_tweetLike a tweet | Like a tweet |
retweetRetweet a tweet | Retweet a tweet |
send_dmSend a direct message to a user | Send a direct message to a user |
list_followersList followers of a user | List followers of a user |
custom_api_callMake a custom API call to the Twitter API v2 | Make a custom API call to the Twitter API v2 |
Triggers
| Name | Description |
|---|---|
new_mentionTriggers when the user is mentioned in a tweet | Triggers when the user is mentioned in a tweet |
new_followerTriggers when a new user follows you | Triggers when a new user follows you |
new_dmTriggers when a new direct message is received | Triggers when a new direct message is received |
Quick Start
import { WeavzClient } from '@weavz/sdk'
const weavz = new WeavzClient({ apiKey: 'wvz_...' })
const result = await weavz.actions.execute({
integrationName: 'twitter',
actionName: 'create_tweet',
input: { /* ... */ },
connectionId: 'conn_id',
workspaceId: 'ws_id',
})Related Integrations
Works well with
Frequently Asked Questions
How do I connect Twitter (X) to my app?
Use Weavz Hosted Connect for OAuth2 authentication. Install the SDK, create a connection through the connect portal or API, then execute actions programmatically.
What actions does Twitter (X) support?
Twitter (X) supports 10 actions including Create Tweet, Search Tweets, Get Tweet, Get User, Get User Timeline, and more.
Can I use Twitter (X) with AI agents?
Yes. Add Twitter (X) to an MCP server in TOOLS mode or CODE mode. CODE mode provides 80-98% context reduction with 3 meta-tools for efficient agent access.
What authentication does Twitter (X) use?
Twitter (X) uses OAuth2. Weavz handles token management, refresh, and secure credential storage automatically.
How much does the Twitter (X) integration cost?
The Twitter (X) integration is included on all Weavz plans including the free tier with 1,000 actions per month. No credit card required.
What triggers does Twitter (X) support?
Twitter (X) supports 3 triggers including New Mention, New Follower, New Direct Message.
Connect Twitter (X) in 2 minutes
Get 1,000 free actions every month. No credit card required.