# Schedule Facebook Pages posts with VS Code (GitHub Copilot)

> VS Code is where a lot of teams already write, review and ship code, so GitHub Copilot's agent mode sits close to the work that produces news. Ask it to turn a merged pull request or a data file into a Facebook Page post, and it drafts the copy in the same window. The draft goes to your queue, and you decide when it runs.

Canonical: https://tesselith.com/ai-agents/vs-code/facebook

## Pull request summaries for a Page

An open-source team merges a pull request that adds offline support. In VS Code, the maintainer asks Copilot's agent mode to read the diff and write a Facebook post for the project's Page in plain English, with no file names. The agent creates the draft and gives it the next free slot once the maintainer approves the wording.

## A monthly digest from a data repo

A nonprofit that tracks local river levels keeps each month's readings in a CSV inside a repo. Copilot's agent mode reads the file, compares this month with the same month last year, and drafts a Facebook post for the organization's Page with three numbers and one sentence on what they mean. The draft stays in Tesselith until a volunteer approves it.

## Launch copy kept beside the code

A small agency builds a booking widget for a client and keeps the client's launch copy in a markdown file in the same project. When the widget ships, the agent reads that copy file and drafts a Facebook post for the client's Page that matches the wording already approved for the website. A second post goes into the calendar a week later.

## Prompts to try

- "Read this pull request and draft a Facebook Page post under 90 words for users, with no file names."
- "Draft a post from the readings in data/monthly.csv and add it to the Page's next free slot."
- "Make a Facebook photo post from the image URL in the launch file, with a caption under 60 words."
- "Schedule the release post for Friday at 2pm Eastern on the project's Facebook Page."
- "List my Facebook Pages and tell me which one has nothing queued next week."

## Tips

- Point Copilot at the pull request description and the user-facing part of the diff. An internal refactor rarely belongs in a post, and the agent writes a clearer draft without it.
- Say who the post is for: users, customers, donors or the team. The same change needs a different sentence for each audience, and naming one gives the agent the right tone.
- Keep the numbers in the source file and let the agent quote them. A figure typed by hand into a prompt drifts out of date, while one read from the file is current on the day you run it.
- Check the draft in Tesselith's feed preview before it's queued. Long file paths and inline code wrap badly in a feed, so ask for plain words in their place.

## Questions people ask

### Does my company's GitHub organization need to allow this?

Yes. On company accounts, your GitHub organization must allow MCP servers before Copilot can connect. Ask an admin to turn it on if the server doesn't appear.

### Will Copilot post without my approval?

No. It can create drafts and queue or schedule them, but publishing right away and deleting a post both need your confirmation.

### How do I connect Tesselith?

Add Tesselith as an MCP server in VS Code's settings, then approve the workspace when it asks for access.

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