The Facebook API for your agent, without a Meta developer app.
Publish text, photos and videos on Pages on Facebook from Claude Code, Codex, Cursor, n8n or your own code. Try it free with a sandbox key: no sign-up, no card.
From your agent (MCP)
claude mcp add --transport http wyro https://wyroapi.com/mcp
Post on Facebook "New store opening this Saturday" and show me the preview.
Without a key the agent creates a free sandbox key by itself. Sandbox posts are simulated and return a public preview link showing how the post would look on Facebook.
From your code (REST)
curl -X POST https://wyroapi.com/v1/sandbox
curl -X POST https://wyroapi.com/v1/posts \
-H "Authorization: Bearer $WYRO_API_KEY" \
-H "Content-Type: application/json" \
-d '{"text":"New store opening this Saturday","platforms":["facebook"]}'The response includes the preview link and the next step for the agent. Errors come with a fix field in English and Spanish.
Facebook requirements
- Image or video optional.
- Up to 63,206 characters of text.
Go live
When you are ready, the agent gives you a link: you sign in, authorize your Facebook account, and the same key starts publishing for real. Real accounts get a 7-day trial; then USD 5 per connected account per month.
FAQ
Can I post text only on Facebook?
Yes. The image or video is optional.
Can I schedule posts on Facebook?
Yes. Send scheduled_at as an ISO 8601 date; in the MCP server, use the programar_para argument.
Do I need a Meta app?
No. You connect your Page from a link; nothing to set up in Meta for Developers.
Other networks: Instagram · TikTok · LinkedIn · X (Twitter) · Threads · YouTube · Pinterest · Overview · En español