---
title: "Post to Facebook from Claude Code"
description: "Claude Code writes Facebook Page posts of up to 63,206 characters, photo sets, videos and Page Stories, and PostQueen publishes them on your Page."
canonical_url: "https://postqueen.ai/claude-code/facebook"
markdown_url: "https://postqueen.ai/claude-code/facebook.md"
last_updated: "2026-10-20"
llms_txt: "https://postqueen.ai/llms.txt"
---

# Post to Facebook from Claude Code.

Claude Code + Facebook

Connect your Facebook Page, add PostQueen to Claude Code and ask for a launch post, a set of screenshots or a vertical Story. Claude Code writes it, and PostQueen puts it on your Page at the hour you choose.

[Start 7-day trial for $0](https://app.postqueen.ai/auth?utm_source=postqueen.ai&utm_medium=landing&utm_campaign=trial&utm_content=agent-channel-hero) [How it works](https://postqueen.ai/claude-code/facebook#how)

Every post waits on your calendar first.

How it works

## Three steps, then just ask.

1

### Connect your Facebook Page

Open Add Channel, pick Facebook Page, log in with Facebook and allow everything it asks for, then select your Page. Business Manager Pages are listed too; personal profiles and Groups aren’t.

2

### Add PostQueen for every project

Run claude mcp add with --scope user, so PostQueen’s tools load in any folder you open Claude Code in, not only this one.

3

### Say what goes on the Page

Give Claude Code the text, the link or the media, and say whether it’s a feed post or a Page Story.

[The full Claude Code setup](https://postqueen.ai/claude-code#setup) [Everything about Facebook](https://postqueen.ai/channels/facebook)

What you can publish

## Post types on Facebook.

- Supported Text post Up to 63,206 characters
- Supported Link post Attach a link to a text post
- Supported Photo or multi-photo post One or more photos in one post
- Supported Video post One MP4, published as a Page video
- Supported Page Story Photo or video; several items become separate stories
- Supported Colored background post Short text-only posts of 130 characters or fewer
- Supported Follow-up comments Each replies to the one before, with an optional image
- Not supported Groups and personal profiles Facebook’s API only allows posting to Pages

Limits at a glance

## Facebook limits.

|  |  |  |
| --- | --- | --- |
| Post text | 63,206 characters | [Official docs](https://developers.facebook.com/docs/pages-api/posts) |
| Photo file | JPEG, BMP, PNG, GIF or TIFF, up to 10 MB each | [Official docs](https://developers.facebook.com/docs/graph-api/reference/page/photos/) |
| Video | One MP4 per post, up to 1 GB |  |
| Story video length | 60 seconds at most | [Official docs](https://developers.facebook.com/docs/page-stories-api) |
| Story video shape | 9:16, at least 540 x 960 pixels | [Official docs](https://developers.facebook.com/docs/page-stories-api) |
| Background text | Text-only posts of 130 characters or fewer |  |

From each network’s documentation and PostQueen’s own checks.

What to ask

## Ask Claude Code for the post.

- Post these 3 app screenshots to our Facebook Page on Monday at 10am with a short launch caption.
- Share demo-vertical.mp4 as a Page Story on Friday at noon, then a feed post with the App Store link on Saturday.
- Put ‘Launch day is Tuesday’ on a colored background for Monday, with a follow-up comment carrying the signup link two hours later.

### Good to know

- Colored backgrounds work only on text-only posts of 130 characters or fewer, so keep the teaser short.
- Page Story videos stop at 60 seconds and need a 9:16 frame of at least 540 x 960 pixels.
- A post that opens with a video publishes that video alone. Put the photos first and they all go out.
- Facebook Page connections need a fresh reconnect in PostQueen about every two months.

## Claude Code and Facebook, answered.

Anything else? Write to [support@postqueen.ai](mailto:support@postqueen.ai) and a person answers.

### Can Claude Code reach a Facebook Group or my personal profile?

No. Facebook opens publishing to apps for Pages only, so Claude Code works with the Pages you connected, including ones owned through Business Manager.

### Can Claude Code post Facebook Reels?

Not as Reels. PostQueen publishes video as a regular Page video, a single MP4 no larger than 1 GB, and a vertical clip of 60 seconds or less can go out as a Page Story instead.

### Can Claude Code add a chain of comments under a post?

Yes. Ask for follow-up comments and each one replies to the comment before it, with an image if you want one.

### Which photo files can Claude Code send to Facebook?

Photos can be JPEG, PNG, GIF, BMP or TIFF files of 10 MB or less, alone or as a multi-photo post. Files on your disk go up with the PostQueen CLI’s upload command.

Keep going

## More ways to post.

### Claude Code on other networks

- [Instagram Post from Claude Code](https://postqueen.ai/claude-code/instagram)
- [TikTok Post from Claude Code](https://postqueen.ai/claude-code/tiktok)
- [LinkedIn Post from Claude Code](https://postqueen.ai/claude-code/linkedin)
- [X Post from Claude Code](https://postqueen.ai/claude-code/x)
- [YouTube Post from Claude Code](https://postqueen.ai/claude-code/youtube)
- [Threads Post from Claude Code](https://postqueen.ai/claude-code/threads)
- [Pinterest Post from Claude Code](https://postqueen.ai/claude-code/pinterest)

### Other agents on Facebook

- [ChatGPT Post to Facebook](https://postqueen.ai/chatgpt/facebook)
- [Claude Post to Facebook](https://postqueen.ai/claude/facebook)
- [OpenClaw Post to Facebook](https://postqueen.ai/openclaw/facebook)
- [Codex Post to Facebook](https://postqueen.ai/codex/facebook)

### Hand your socials to Claude Code.

Get your time back. Every post still lands on your calendar first.

[Start 7-day trial for $0](https://app.postqueen.ai/auth?utm_source=postqueen.ai&utm_medium=landing&utm_campaign=trial&utm_content=agent-channel-band) $0 due today. Cancel in one click.
