Post to Facebook with Codex

Connect Codex to dopost to post to your Facebook account and manage your calendar.

Connect Codex to dopost

Set up the connection

Recommended

Add the hosted server and sign in once

Sign in to dopost to connect your accounts. No API key is needed.

Codex CLI or the Codex app MCP settings
codex mcp add dopost --url https://mcp.dopost.co/mcp
codex mcp login dopost
  1. 1Run the two commands in your terminal. The login command opens dopost in your browser.
  2. 2Choose the workspaces Codex may use and approve the requested permissions.
  3. 3Start a new Codex session and ask it to list your connected accounts.
Full Codex guide

Requirements for posting to Facebook

  • A Facebook Page where you can create content
  • Posts go to Facebook Pages, not personal profiles.
  • Codex publishes feed posts. Reels and Stories are scheduled from the dopost app.
  • Up to 10 photos per post.
  • Long texts are fine: the limit is 63,206 characters.
dopost Facebook scheduler

Facebook formats

Check the formats and media supported by this connection.

FormatMedia per postMedia requiredWith Codex
Feed post10No
Reel1Yes
Story1Yes

What you can ask Codex

Schedule a post

Schedule this post on Facebook for tomorrow at 10am.

Check the calendar

What posts do I have scheduled on Facebook for next week?

Reschedule posts

Move Friday’s Facebook posts to Monday, keeping the same times.

Facebook performance

Check the available metrics for your posts.

Compare the performance of my Facebook posts this month.

Codex and Facebook questions

Can Codex post to Facebook?

Yes. Connect your Facebook account in dopost and follow the Codex setup guide.

Can Codex post to my personal Facebook profile?

No. Facebook only allows publishing to Pages through its API. Connect your Page in dopost and Codex can post there.

Can Codex post Facebook Reels or Stories?

Not yet. Codex publishes feed posts with text, photos or a video. Reels and Stories can be scheduled from the dopost app.

Can I check my Facebook results?

Yes. You can check the available metrics for your Facebook accounts and posts.

Can I review content before scheduling?

You can ask the agent to show you the content before scheduling it.

Start posting to Facebook with Codex

Create your dopost account and connect your social accounts.

See plans and pricing