Skip to content

Schedule X posts from your AI agent

Your agent writes the post. PostPen holds your X connection, checks the post against your account's limit, and publishes it at the time you set, even if the chat is closed. Text too long for one post goes out as a thread. The same post can go to LinkedIn, Facebook, Instagram and Threads too, with its own version for X.

Start free · Connect your agent

What PostPen does on X

  • Connect once. Connect your X account on the Social Accounts page in PostPen. Your agent signs in to PostPen, never to X, and never sees your X token.
  • Your agent picks X per post. list_destinations returns your X account with an id like x:<id>. save_draft takes it in destinations, alone or next to your other accounts.
  • A version for X. network_text gives X its own text, so a long LinkedIn post can go out on X as a short one.
  • Your account's own limit. PostPen reads it from X: 280 characters on a standard account, 25,000 with X Premium (Basic, Premium or Premium+).
  • Threads from long text. A post longer than your account takes goes out as a thread of up to 25 posts, each a reply to the one before, cut at a paragraph or sentence and numbered 1/3, 2/3, 3/3. Images or a video go on the first post. The Composer shows the thread before it goes out.
  • First comment and alt text. first_comment goes out as a reply right after the post (under the last post of a thread), and each image keeps its alt text.
  • Checked before it's scheduled. If the post has too many images or is too long even for a thread, save_draft says so in network_problems, and schedule_post refuses the post until it's fixed.
  • One calendar. Drafts, scheduled and published X posts sit next to your other networks on the PostPen calendar, where you can edit, move or delete them before they go out.

X's limits

WhatLimit on X
Text280 characters per post, 25,000 with X Premium. A link counts as 23, and most emoji count as 2. Longer text becomes a thread of up to 25 posts
ImagesUp to 4 per post, 5MB each, with alt text. A GIF goes on its own
VideoOne mp4 per post
PDFNot supported on X

Ask your agent

Turn this blog post into an X thread for tomorrow at 9 AM, and put the link in a reply under it.

Your agent calls list_destinations to find your X account, saves the draft with the thread's text in network_text and the link in first_comment, then calls schedule_post. PostPen cuts the text into numbered posts that fit your account. You see the post on your calendar right away.

Which plans include X

PlanX
Free ($0)X can be your one network, 10 published posts a month
Personal ($9/month)X plus one other network, one account each
Organization ($29/month)X with all the other networks, plus 2 LinkedIn company pages
Enterprise (custom)Every network, unlimited accounts

See pricing for yearly and lifetime prices.

FAQ

Can my agent post a thread on X?

Yes. Send the whole text: anything longer than your account takes in one post goes out as a thread of up to 25 numbered posts, each a reply to the one before. If X refuses one part, the posts before it stay up and the post shows a note saying how many went out.

Does PostPen support X Premium's long posts?

Yes. PostPen asks X for your account's limit, so a Premium account can post up to 25,000 characters in one post. A standard account's longer text becomes a thread.

Does PostPen read X analytics?

Yes. For the posts PostPen publishes on X, the X dashboard in PostPen shows impressions, likes, replies, reposts and bookmarks, plus your follower count. Your agent reads the same numbers with get_post_stats and get_insights. X gives no reach.

Does my agent see my X password or token?

No. PostPen keeps the X connection on its server, and no tool accepts or returns a token for any network.

Schedule your first X post

Connect X, add PostPen to your agent, and let it queue the first post. Posting to other networks too? See the Threads, Instagram, Facebook Page and YouTube schedulers, or LinkedIn company pages.

Start free