# Post to Facebook from Claude Code

> Ask Claude Code for a Facebook post and your Brandiz.io studio makes it in your brand, from your website. Then it is scheduled on the Facebook account you connected, at the time you pick.

Web page: https://www.brandiz.io/agents/claude-code/facebook · Updated 2026-11-09

## Set up Claude Code

You need a Brandiz.io account with your business set up and your Facebook account connected under Channels. The address: https://www.brandiz.io/api/mcp

1. **Add the server**: In your terminal, run the first command below. Add --scope user, as in the second, to have it in every project; without it, it is only in this one.
2. **Sign in**: Start Claude Code, type /mcp and pick brandiz. Sign in to Brandiz.io in your browser, check the business, tick Let it schedule and post for me if it may post for you, and tap Allow.
3. **Check it**: claude mcp list shows the server, and /mcp in Claude Code shows whether it is connected.
4. **Ask**: Try: what should I post this week? Then: make a poster about our best offer and schedule it for Friday at 6 pm.

## What to copy

**Add Brandiz.io**

```bash
claude mcp add --transport http brandiz https://www.brandiz.io/api/mcp
```

**Or in every project**

```bash
claude mcp add --transport http brandiz --scope user https://www.brandiz.io/api/mcp
```

## What Claude Code can have made for Facebook

### Posters in your brand

Ask for a post and the studio designs it from your website, in your fonts and colours. On Facebook it goes out in the portrait 4:5 (1080 × 1350) size.

### Stories

The same design also comes in the story 9:16 (1080 × 1920) size, which goes out as a story on Facebook beside the post.

### Reels from your pictures

Ask for a reel and the studio makes it in 9:16 from your own pictures, with music, captions and a voice-over. It uses one reel from your package.

### Your own post

Hand Claude Code your photos (several make one post) or a video with your caption, and it goes out on Facebook when you say. That uses nothing from your package.

## Facebook's rules, as the studio follows them

The same rules the app checks before a post can go out.

| Rule | Facebook |
| --- | --- |
| Caption | Up to 60,000 characters |
| Before “more” | About the first 480 characters show |
| Hashtags | At most 3, specific to the post |
| Emoji | 2 at most |
| Feed size | portrait 4:5 (1080 × 1350) |
| Stories | The story 9:16 (1080 × 1920) size goes out as a story |
| Posts carry | pictures, videos |
| Carousels | Yes |
| Text-only posts | Yes |

## From your ask to Facebook

1. **It reads your business**: Claude Code reads your brief, voice and facts first, so the post sounds like you and every number is one you confirmed.
2. **It adds the post**: It adds the words for the studio. They pass the same claims check as your own posts.
3. **The studio makes it**: Your studio designs the poster in your brand, or makes the reel, and its status says when it's ready.
4. **It schedules it on Facebook**: It picks the queue, a time or now. With your tick it goes out then; without it, it waits for your Approve.

## Asks to try on Facebook

Type them to Claude Code as you would ask a person.

- “Write a Facebook post about our weekend opening hours, have the studio design it and put it in the queue.”
- “Make a poster about our new delivery area and schedule it on Facebook for Thursday at 7 pm.”
- “Stop the Facebook post that goes out tomorrow: the offer has ended.”
- “Which of our Facebook posts got the most comments this month?”
- “Post ./menu.jpg to Facebook now, with our address at the end of the caption.”

## Or from the command line

Claude Code can run these too, once npx brandiz login has your API key.

**Your own post on Facebook, now**

```bash
npx brandiz channels
npx brandiz posts own photo.jpg --caption "..." --channels facebook --when now
```

## Questions

### Can Claude Code post to Facebook without me?

Only if you tick Let it schedule and post for me on the Allow screen when you sign in. Without it, the post is planned for the time Claude Code picked and waits for your Approve in Brandiz.io.

### Do I need to connect my Facebook account first?

Yes. Connect your Facebook account in Brandiz.io under Channels. Claude Code posts only to the accounts you connected, and it can't connect or disconnect them.

### Is the Facebook caption different from Instagram's?

Yes. Each network gets its own caption: a few short paragraphs on Facebook that end with where to find you, shorter lines on Instagram.

### Does it use my package?

Reading, writing and scheduling don't. A poster the studio designs uses one post from your package the first time, and a reel uses one reel. Your own photos and videos use nothing.

## Sources

- [Claude Code docs: connect Claude Code to tools via MCP](https://code.claude.com/docs/en/mcp), checked 2026-11-09

## Read next

- [Claude Code](https://www.brandiz.io/agents/claude-code)
- [Facebook](https://www.brandiz.io/platforms/facebook)
- [LinkedIn](https://www.brandiz.io/agents/claude-code/linkedin)
