GitHub Copilot + Facebook

Post to Facebook from GitHub Copilot

Ask GitHub Copilot 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 GitHub Copilot 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 .vscode/mcp.json in your project root.

  4. 4

    Start the server in VS Code and sign in to BrokenPost.

  5. 5

    Ask Copilot in agent mode to schedule a post.

{
  "servers": {
    "brokenpost": { "type": "http", "url": "<MCP_URL>" }
  }
}

What to ask GitHub Copilot

Type these in Copilot agent mode in VS Code. Change the details to fit your posts.

What happens next

  1. 1

    You ask in Copilot agent mode in VS Code, in plain words.

  2. 2

    GitHub Copilot 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 GitHub Copilot follows

GitHub Copilot 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 GitHub Copilot sets them on the post.

If Facebook rejects a post

GitHub Copilot 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 GitHub Copilot post to Facebook directly?

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

Does GitHub Copilot know the Facebook limits?

Yes. GitHub Copilot 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 GitHub Copilot 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?

GitHub Copilot 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 GitHub Copilot set?

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

Can GitHub Copilot 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 GitHub Copilot

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.