?
postToX
Create a post on X (Twitter) from the connected account.
mindstudio.postToX({ text }) → Result
Create a post on X (Twitter) from the connected account.
Parameters
text
string
RequiredThe text content of the post (max 280 characters)
connectionId
string
X (Twitter) OAuth connection ID
mediaUrls
string[]
Up to 4 URLs of images, GIFs, or videos to attach to the post
Call from a method
import { mindstudio } from '@mindstudio-ai/agent'; const result = await mindstudio.postToX({ text: /* ... */ });