Social

X

Publish posts and threads on X and inspect engagement metrics.

Explore 5 capabilities ↓

What you can build

  • Draft and post tweets on a schedule
  • Post a thread from long-form content
  • Track engagement metrics across posts
  • Reply or quote-tweet from a queue

Access and credentials

Post, delete, and read analytics for tweets via X OAuth. Posting and deleting are public, mutating actions; deletes are irreversible.

This plugin declares OAuth access. Provider permissions and connection setup must be reviewed when a compatible release is installed.

Example action

Find the connected X account

Use this call in a saved OrgSDK action after enabling the plugin and connecting a credential.

return await twitter.getUser();

Use with OrgSDK

OrgSDK gives external AI clients persistent projects and controlled execution. Plugins add optional tools to those projects. Each run uses pinned plugin versions, and project configuration determines which credentials they can use.

Set up OrgSDK locally ↗

The plugin’s toolkit

Capabilities

5 functions from this published version. Read calls retrieve or process information; write actions can change data in the connected service.

5 of 5 functions

Get the authenticated user's Twitter/X profile including ID, name, and username.

Parameters and return value

This call takes no parameters.

Returns Promise<{ id: string; name: string; username: string; profileImageUrl?: string }>

Post a tweet. Supports replies and quote tweets. For threads, chain multiple tweets using replyToId.

Parameters and return value
ParameterTypeDetails
textstring—
replyToIdOptionalstring—
quoteTweetIdOptionalstring—

Returns Promise<{ id: string; url: string }>

Post a Twitter/X thread (chain of tweets). Each tweet is posted as a reply to the previous one.

Parameters and return value
ParameterTypeDetails
tweetsstring[]—

Returns Promise<Array<{ id: string; url: string }>>

Get analytics for a single tweet including impressions, likes, replies, retweets, quotes, bookmarks, and engagement rate.

Parameters and return value
ParameterTypeDetails
tweetIdstring—

Returns Promise<{ impressions: number; likes: number; replies: number; retweets: number; quotes: number; bookmarks: number; engagementRate: number }>

Delete a tweet by ID. This action is irreversible.

Parameters and return value
ParameterTypeDetails
tweetIdstring—

Returns Promise<{ success: boolean }>