Skip to content

X (Twitter) ​

X (Twitter) is one of Socifyr's 18 supported platforms — publish from the dashboard, REST API, CLI, SDK, or MCP server.

At a glance ​

Video1 GB
Photos≤4 images per post
Text280 chars
Daily post cap50 / rolling 24 h
SupportsVideo · Up to 4 photos · First comment (reply)

Connect ​

OAuth connect — click Connect, no manual keys.

Click Connect and authorize the X OAuth 2.0 screen (PKCE). Tokens last 2 hours; Socifyr renews them automatically.

Publish ​

bash
socifyr post "Hello X (Twitter)" --to x-myaccount
bash
socifyr post --video ./clip.mp4 --text "caption" --to x-myaccount
typescript
await socifyr.uploads.text({
  connections: ['x-myaccount'],
  text: 'Hello X (Twitter)',
})
bash
curl -X POST https://api.socifyr.com/api/content/text \
  -H "Authorization: Bearer $SOCIFYR_API_KEY" \
  -H "X-Workspace-Id: $SOCIFYR_WORKSPACE_ID" \
  -H "Content-Type: application/json" \
  -d '{"connections": ["x-myaccount"], "text": "Hello X (Twitter)"}'

Agents can post here too — connect the MCP server and ask any client: "post 'Hello X (Twitter)' to x-myaccount".

Good to know ​

  • First comment posts as a reply from the same account.
  • Threads: schedule multiple posts, or use the SDK to chain replies.
  • Keep posts at 280 chars — Premium long-post entitlements do not extend through the standard API.

Need exact numeric limits in code? They're machine-readable in @socifyr/shared via PLATFORM_CONSTRAINTS.x — validate before upload.