Facebook · from OpenCode
Post to a Facebook Page from OpenCode.
A product Page usually has several people behind it. OpenCode can share the server through the project while each person keeps their own access.
Facebook from OpenCode means a Page — a product’s, a team’s, a client’s — because Meta’s API publishes to Pages you manage and not to personal profiles or groups. A Page post can be text alone with room for 63,206 characters, so a release note that had to be squeezed for X can go here at full length, with up to 10 photos or videos from the project if they add something.
OpenCode reads a global config and a project one, so the 1Social entry can sit in the repository’s opencode.jsonc and everybody who opens the project sees the same server. The entry is only a name, the remote type and our address. The sign-in that gives it access happens per person, with opencode mcp auth on their own machine, so cloning the project shares the tools and none of the Pages.
Asking OpenCode 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.
› 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 our facebook page for ten tonight, text only, i’m in dublin, leave instagram out
text only · one Page connected
A Page takes text on its own, so this one needs nothing else:
Queued for ten tonight, Dublin time, on the Page. Instagram was skipped as you 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
OpenCode, on the other networks
Facebook, from the other agents
- Facebook from ChatGPT
- Facebook from Claude
- Facebook from Cursor
- Facebook from Claude Code
- Facebook from OpenClaw
- Facebook from Hermes
- Facebook from Codex
- Facebook from Claude Cowork
- Facebook from Gemini CLI
- Facebook from VS Code
- Facebook from Windsurf
- Facebook from Cline
- Facebook from Kilo Code
- Facebook from Zed
- Facebook from Amp
- Facebook from Goose
- Facebook from Grok
- Facebook from Perplexity
- Facebook from Le Chat
- Facebook from Raycast
- Facebook from LM Studio
- Facebook from Warp
- Facebook from Kimi Code
- Facebook from Junie
- Facebook from DeepSeek
Publishing to Facebook from OpenCode
One entry for the whole team
Commit the remote entry to the project’s opencode.jsonc and teammates get the tools when they open the repository; each one still signs in with their own 1Social account.
A notice needs only words
A Page post can be text alone, so a maintenance notice from OpenCode goes out on Facebook even when the same request is held back on Instagram for want of a picture.
Tonight’s notice, queued now
Ask for the notice at ten tonight with your city named and the Page post is queued with that offset, so the OpenCode session can end straight away.
A Page post can be withdrawn
Facebook allows removal through its API, so a later OpenCode session can delete a Page post that went out by mistake, unlike the Instagram post beside it.
How it works
Connect once
~2 minLink the accounts you use in a browser. OAuth, no passwords typed into a chat, no API keys to paste anywhere.
ChatGPT
Claude
Cursor
Ask, in your own words
one sentenceTell OpenCode to publish to Facebook, now or on a day you name. No dashboard, no tab switch.
Read the receipt
per networkOne line per network — what landed, what failed and why, and what genuinely could not be determined.
The project’s entry replaces yours, whole
OpenCode merges a global config with the project’s, but not field by field for MCP servers: a higher-precedence project config replaces the entire server object that has the same name. If you keep a personal 1Social entry with your own timeout or codemode setting and the repository commits one under the same name, the repository’s version is what runs in that project. That is usually what a team wants. It also means the sign-in, not the entry, decides whose Pages a post reaches, so two people on the same branch can post to different Pages. The account list names each Page; read it before a notice goes out.
A rule of Facebook from OpenCode, not ours and not the network’s. 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 for you; Meta’s API stops at Pages. And a team gets no shared approval queue here: each person publishes under their own connection, and the only check is whatever permission rule that person has set in OpenCode.
Questions people actually ask
Is it safe to commit the 1Social entry in opencode.jsonc?
The entry holds the server name, the remote type and our address, with no secret in it, since the OAuth sign-in is handled separately. Each teammate runs opencode mcp auth themselves, so cloning the project gives nobody access to your Pages.
Can OpenCode post to a Facebook group or my profile?
No. Meta’s publishing API covers Pages you manage and nothing else, for OpenCode and for every other client. A Page post can be text on its own, with photos or with a video.
What happens if my global OpenCode config and the project both define 1Social?
The project’s entry replaces the global one entirely in that project, rather than being merged with it. If you need a setting of your own there, such as a longer timeout, it has to be in the entry that wins.
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.