Publish
Text, images or video.
Analytics
Account & per-tweet metrics.
Connect
OAuth 2.0 (PKCE) flow:authUrl and approve. The callback /connect/x/callback must
be registered in your X app’s User authentication settings.
Publish a tweet
X accepts text only, 1–4 images, or a single video/GIF (media is optional):platformPostId and platformPostUrl.
Analytics
Account-level metrics (the six the X API exposes):platformPostId from
publishing:
Detailed impression/engagement data lives at the tweet level, not the
account level — an X API limitation, not PlugKit’s.
Not supported
X messaging (DMs) isn’t exposed through this integration.Permissions
Scopes:tweet.read, tweet.write, users.read, media.write,
offline.access (for token refresh).