Facebook · from Claude Code

Post to a Facebook Page from Claude Code.

A product’s Facebook Page is often run by more than one person. In Claude Code each of them connects their own access, even when the setup is shared.

Facebook from Claude Code usually means a Page that belongs to the product rather than to a person, and the people who post to it are often the ones who ship it. Publishing is to a Page you manage, chosen when you connected, through Meta’s Graph API; a personal profile cannot be posted to through any API. A Page takes text on its own and has room for 63,206 characters, so a release note that had to be cut down for X goes here whole.

Claude Code can keep the server in the project itself, in a .mcp.json file at the root of the repository, so everyone who works on it gets the same tools without setting anything up. That file holds an address and nothing else. Each person still authorises in their own browser and connects their own Pages, so committing it shares no access — and up to 10 photos or videos can go with a post, uploaded from the working tree.

Asking Claude Code for a Facebook post

The Facebook ceilings in this exchange come from the same table the publisher enforces — the conversation is drawn, the numbers are not.

Claude Code11:30

› Set me up — what do you need?

Just the accounts. Connect them in the browser once and I can publish from here after that.

› Done, connected

I will tell you before publishing if a network cannot take what you wrote.

› Good. Drafting the launch note now

Send it over and I will check it before anything goes out.

› post the maintenance notice to the facebook page for tonight at 10pm, text only, nothing to instagram

text only · one Page connected

1S

Text alone is fine for a Page, so nothing else is needed:

Facebook caption63,206fits
Image or videooptional here
Reply chainsjoined into one post
Attachments allowed10per post

Scheduled for 22:00 on the Page, with your offset. Instagram was left out as asked.

› _

What Facebook allows

Read from the same table the publisher enforces, so this cannot drift from what actually happens when you press send.

Caption limit
63,206 characters
Post with no image or video
Fine
Reply chains
No — the parts are joined into one post
Images or video per post
10
Image formats
Anything we accept for upload

Claude Code, on the other networks

Facebook, from the other agents

Publishing to Facebook from Claude Code

Shared setup, separate access

The server can live in the project’s .mcp.json for the whole team, while every person authorises and connects Pages under their own account.

Text alone is fine on a Page

A Page post needs no picture, so a notice from the terminal can go straight out on Facebook even when the same request is held back for Instagram.

One upload, both posts

Name Facebook and Instagram together and the image is uploaded from disk once, then attached to both posts, so the pair cannot end up with different pictures.

Removable from a later session

A Page post can be deleted afterwards and the deletion is confirmed, which is not true of the Instagram post that may have gone out beside it.

How it works

1

Connect once

~2 min

Link the accounts you use in a browser. OAuth, no passwords typed into a chat, no API keys to paste anywhere.

ChatGPT

Claude

Cursor

2

Ask, in your own words

one sentence

Tell Claude Code to publish to Facebook, now or on a day you name. No dashboard, no tab switch.

3

Read the receipt

per network

One line per network — what landed, what failed and why, and what genuinely could not be determined.

Whose Page a shared config posts to

When the server is added at project scope, the .mcp.json in the repository is shared but the authorisation is not: every developer who opens the project goes through the browser sign-in under their own 1Social account. So “post this to the Facebook Page” from one laptop and from another can reach different Pages, or none at all, depending on what each person connected. Claude Code reads the account list before it publishes, and the Page name is in that list — worth a glance before a scheduled notice goes out under the wrong brand.

A limitation of this product. Ours to fix. From documentation, checked 2026-11-23.

When this is the wrong tool

If you want to post to your own Facebook profile or to a group, nothing can do that — Meta’s API publishes to Pages only. And this does not give a team a shared review queue: whoever runs the request publishes under their own connection, with no second person signing off first.

Questions people actually ask

Can I commit the 1Social MCP config to my repo for Claude Code?

Yes. Adding the server at project scope writes a .mcp.json at the root, and it contains only the server address. Teammates who open the project are asked to approve the server, then authorise it under their own accounts.

Can Claude Code post to a Facebook group or a personal profile?

No. Publishing goes to Facebook Pages you manage, which is all Meta’s API allows for posting. Groups and personal profiles cannot be reached from Claude Code or from any other client.

Which Page does Claude Code use if I manage more than one?

The one you name. Each connected Page is listed by name when Claude Code checks the accounts, and with several connected, naming one in the request keeps a notice from going out under the wrong Page.

Something else? Ask us — a person answers.

Read next

Start where you already work.

Connect an account and post your first update in about two minutes. Every plan starts with a free trial.

Posts go out through each network’s official API — not scraping.