# Schedule Facebook Pages posts with Codex

> Codex is at its best when the work it describes is sitting in your repo. A merged fix, a new setting or a changed price in a config file can become a Facebook Page post in the same session. Codex drafts it, and nothing is scheduled until you say so.

Canonical: https://tesselith.com/ai-agents/codex/facebook

## Product listings turned into posts

An online pottery shop keeps its product list in a YAML file in the repo. Codex reads the file, finds the three items added this month, and writes one Facebook post per product for the shop's Page, with the price and size note taken from the file. The drafts go into the queue, and the owner checks each price against the file before approving.

## Release notes for a plugin's users

A maker of a WordPress plugin tags a release every few weeks. In the terminal, Codex reads the commits since the last tag and writes a Facebook post for the plugin's Page. It leaves out the refactors and keeps the two fixes users will notice. Codex suggests the next free slot, and the maintainer picks one before the post is queued.

## Docs changes as small updates

A small open-source project posts updates to its Page whenever the docs change. Codex scans the docs folder for pages edited in the last week and drafts a short post for each one, linking to the new section. The posts are spread across different days, so the Page doesn't post six times on Monday.

## Prompts to try

- "Read the commits since v1.4.0 and draft a Facebook Page post under 100 words for our users."
- "Draft a Facebook post about the new spring menu and add it to the bistro Page's next free slot."
- "Write a photo post for the pottery studio using the image at the public link in products.yaml."
- "Schedule the open-house post for Saturday at 11am Eastern on the studio's Facebook Page."
- "Show me which of my Facebook Pages has nothing queued after Wednesday."

## Tips

- Tell Codex which commits matter to users and which are internal. A refactor is news to the team and noise to a Page follower, so name the ones to drop.
- Keep posts under about 80 words. Facebook shows roughly 480 characters before 'See more', so a short post reads whole, while a long one gets trimmed in the feed for most people.
- Keep product names and prices in the source file and let Codex read them from there. A price typed by hand into a prompt is the first thing that goes stale.
- Check each draft in Tesselith's feed preview before it reaches the queue. Code formatting and long URLs look different in a feed than in a repo, so look at the post the way your followers will.

## Questions people ask

### Do I need to install anything extra for Codex?

You add Tesselith to ~/.codex/config.toml. The CLI, the IDE extension and the ChatGPT desktop app share that file, so you only set it up once.

### Will Codex post right away?

Not without your confirmation. It can draft, queue or schedule a post, but publishing right away needs you to confirm, and so does deleting one.

### Can I use Codex for several Pages?

Yes. Each Facebook Page you connect shows up as its own channel, and Codex uses the one you name in the prompt.

---
Tesselith · https://tesselith.com · Full site index: https://tesselith.com/llms.txt
