Windsurf + Facebook

Post to Facebook from Windsurf

Ask Windsurf to write and schedule your Facebook posts. BrokenPost connects the two, follows Facebook's rules and posts at the time you pick.

How to connect Windsurf to Facebook

  1. 1

    Connect Facebook in BrokenPost. Sign in with Facebook and pick the Pages you manage.

  2. 2

    In BrokenPost, open Plugins and copy your MCP URL.

  3. 3

    Add the config below to ~/.codeium/windsurf/mcp_config.json.

  4. 4

    Sign in to BrokenPost when asked and allow access.

  5. 5

    Ask the agent to schedule a post.

{
  "mcpServers": {
    "brokenpost": { "serverUrl": "<MCP_URL>" }
  }
}

What to ask Windsurf

Type these in Windsurf. Change the details to fit your posts.

What happens next

  1. 1

    You ask in Windsurf, in plain words.

  2. 2

    Windsurf lists the channels you connected in BrokenPost and picks your Facebook account.

  3. 3

    It reads Facebook's rules and settings from BrokenPost, so the post fits Facebook's limits before it is written.

  4. 4

    If you shared a picture, a video or a link to one, it uploads it to your media library.

  5. 5

    It creates the post as scheduled, as a draft, or to go out now, and gives you a preview link.

  6. 6

    At the set time BrokenPost publishes it to Facebook and it shows on your calendar.

Facebook limits Windsurf follows

Windsurf reads these rules from BrokenPost before it writes, so the post fits the first time.

Characters63,206 characters
MediaText only, photos, or 1 video
StoriesNeed a photo or video, each one is its own story
Video titleOptional, for video posts
AccountsFacebook Pages

Facebook settings you can ask for

Say them in plain words, like "post or story", and Windsurf sets them on the post.

If Facebook rejects a post

Windsurf sees the same message and can fix the post for you.

What you seeHow to fix it
Page publishing authorization required, please re-authenticateFacebook needs you to approve the page again. Reconnect Facebook and pick the page.
Cannot post Facebook.com linksFacebook blocks links to facebook.com in posts from apps. Remove the link or share the post on Facebook directly.
Content violates Facebook Community StandardsFacebook blocked the text or media. Change the content and try again.
Access token expired, please re-authenticateReconnect Facebook in BrokenPost. Your scheduled posts stay in place.

Good to know

Questions people ask

Can Windsurf post to Facebook directly?

Yes, through BrokenPost. Connect Facebook in BrokenPost, connect BrokenPost to Windsurf, and Windsurf can schedule, draft or publish Facebook posts.

Does Windsurf know the Facebook limits?

Yes. Windsurf reads Facebook's rules from BrokenPost before it writes: 63,206 characters and text only, photos, or 1 video. BrokenPost checks again before it posts.

Can Windsurf schedule Facebook posts for later?

Yes. Give a day and time, like "Friday at 6pm", and the post goes out then. Ask for a draft if you want to check it first.

Is it free?

Windsurf with BrokenPost works on every plan. The Free plan includes 1 account on every app and 20 posts a month. Paid plans start at $19 a month with unlimited posts.

Which Facebook settings can Windsurf set?

Post or story; Link preview URL; Colored text background; Video title.

Can Windsurf post a Facebook thread or comments?

Yes. Ask for a thread or a first comment and BrokenPost posts each part as a reply, right after the first one.

Can I schedule posts to a personal Facebook profile?

No. Facebook only lets apps post to Pages. Connect the Pages you manage.

Can I schedule Facebook Stories?

Yes. Set the post type to story and add a photo or video. Each one goes out as its own story.

More apps with Windsurf

Post to Facebook with other AI

All about scheduling Facebook posts

Write once. Post everywhere.

Start free with BrokenPost. Connect your apps and your AI in a few minutes.