doodle top mobile

Post to Facebook from OpenClaw

OpenClaw can publish text, link, and media posts to Facebook Pages through the Postiz skill. You message OpenClaw from a chat app with the post and an optional link, and it calls the Postiz CLI to attach the URL for a rich preview, upload images or video, and schedule the post.

Setup GuideClawHub

Please make sure there is always a human in the loop.

Last updated: September 2026

doodle left mobiledoodle right mobile

How do you set up OpenClaw to post to Facebook?

Setup takes three commands: install the Postiz skill, sign in, and confirm OpenClaw lists it as eligible. After that you talk to OpenClaw in plain language and it runs the Postiz CLI for Facebook.

Setup once, then just ask

# Install the Postiz skill (ClawHub or the skills CLI)
openclaw skills install @nevo-david/postiz
# or: npx skills add gitroomhq/postiz-agent

# Sign in (OAuth2 device flow) or use an API key
postiz auth:login
# or: export POSTIZ_API_KEY=your_api_key

# Confirm OpenClaw can see the skill
openclaw skills list --eligible

# Then just ask OpenClaw from any chat app:
> Post our event announcement to the Facebook
  page with the link, Saturday at 10am

OpenClaw: Done! Your Facebook Page post is scheduled for Saturday at 10:00 AM.

Facebook-Specific Features

Text Posts

Publish engaging text posts with emojis, hashtags, and mentions. Perfect for quick updates, announcements, and community engagement.

🔗

Link Previews

Attach URLs to generate rich link previews with title, description, and thumbnail. Drive traffic to your website or blog.

📸

Media Attachments

Upload and attach images or videos to your posts. Share visual content that drives higher engagement on Facebook.

🏢

Page Management

Post as your Facebook Page to maintain your brand voice. Schedule content for your business page effortlessly.

📊

Analytics Tracking

Track post performance with Postiz analytics. Monitor reach, engagement, and clicks across your Facebook content.

📅

Scheduled Posting

Schedule posts with precise timestamps. Plan your Facebook content calendar and let Postiz handle the publishing.

How does posting to Facebook from OpenClaw work?

You describe what you want in plain language and OpenClaw handles the Postiz calls for you. Here is how a typical conversation goes.

1

Find Your Facebook Integration

Ask OpenClaw whether your Facebook account is connected. It also checks which options the platform supports.

Example conversation

> Is my Facebook account connected to Postiz?

OpenClaw: Yes — your Facebook account is connected
  and ready. Want me to post something?
2

Prepare Your Content

Write your post content and optionally upload media. For link posts, just include the URL in settings — Facebook generates the preview automatically.

Example conversation

> Draft a Facebook post about our new
  feature launch

OpenClaw: Here's a draft for Facebook:
  "We just shipped something big..."
  Want me to add media and schedule it?
3

Create Your Post

Schedule a Facebook post with your content, optional media, and platform-specific settings like link URL for rich previews.

Example conversation

> Yes — add screenshot.png and schedule
  it for tomorrow at 9am

OpenClaw: Done! Scheduled on Facebook for
  tomorrow at 9:00 AM.

Facebook Settings Reference

Mention any of these in plain language and OpenClaw sets them for you. These are the Facebook options it can apply to any post.

FieldTypeDescription
__typestringMust be "facebook"
urlstringLink URL to attach for rich link previews

Common Configurations

Ask OpenClaw for any of these common Facebook posting scenarios and it applies the matching settings.

Simple Text Post

Just ask

> Post it with: Simple Text Post

OpenClaw: Got it. Applying:
  (defaults)

Post with Link Preview

Just ask

> Post it with: Post with Link Preview

OpenClaw: Got it. Applying:
  url: https://example.com/blog/my-article

Product Launch Announcement

Just ask

> Post it with: Product Launch Announcement

OpenClaw: Got it. Applying:
  url: https://myproduct.com/launch

What is OpenClaw?

OpenClaw is the open-source personal AI agent with 145k+ GitHub stars. It runs locally on your machine, connects through apps you already use, and takes real actions on your behalf.

💬

Works Where You Are

Message OpenClaw from WhatsApp, Telegram, Slack, Discord, Signal, iMessage, or 10+ other platforms. No new app to learn.

🧩

Skill-Based Architecture

OpenClaw extends its abilities through Skills — lightweight plugins defined in Markdown files. Postiz is available as a skill on ClawHub.

Proactive Automation

Schedule recurring tasks with cron jobs. OpenClaw can post your Facebook content on a schedule without you having to ask each time.

How Postiz Becomes an OpenClaw Skill

When you install Postiz Agent globally, OpenClaw automatically discovers it by reading the bundled SKILL.md file. This file tells OpenClaw what commands are available, what environment variables are needed, and how to compose Facebook posts with the right settings.

  • Install from ClawHub with one command: openclaw skills install @nevo-david/postiz
  • OpenClaw reads the SKILL.md and learns all Postiz commands
  • Run openclaw skills check to confirm the postiz binary and credentials are in place
  • Skills are loaded on-demand, keeping the agent context clean
  • Works with any LLM backend: Claude, GPT, Gemini, Llama, and more

Install from ClawHub

# Install the Postiz skill from ClawHub
openclaw skills install @nevo-david/postiz

# Or with the skills CLI
npx skills add gitroomhq/postiz-agent

# Sign in with OAuth2 (or set POSTIZ_API_KEY)
postiz auth:login

# Verify OpenClaw sees it
openclaw skills list --eligible
openclaw skills check

Facebook Posting with OpenClaw

Message OpenClaw from any platform — it reads the Postiz skill, discovers your Facebook integration, and handles the entire posting workflow autonomously.

🦀

From Any Chat App

WhatsApp, Telegram, Slack, Discord...

Send a message to OpenClaw from your favorite chat app. It runs as a persistent daemon on your machine, so it picks up your message, discovers your Facebook page via Postiz, composes the post, and schedules it — all while you go about your day.

WhatsApp / Telegram

You: Share our latest blog post on
  Facebook with a link preview,
  schedule for tomorrow at 10am

OpenClaw: Got it! Here's what I'll do:
  1. Create post with blog link
  2. Schedule for 2025-03-02T10:00:00Z
  3. Settings: link preview enabled

  Done! Your Facebook post is scheduled.
  Post ID: abc-123
🦀

Scheduled & Proactive

openclaw automations for recurring content

OpenClaw automations run on cron expressions in an isolated session and can announce results to a chat channel. Create one that drafts and schedules your Facebook content through Postiz, so nothing waits on a manual trigger.

openclaw automations (cron)

openclaw automations create "0 9 * * 1-5" \
  "Check ~/content/facebook for a new post, attach the link so Facebook renders a preview, and schedule it on the Page for 10am." \
  --name "Facebook daily post" \
  --session isolated \
  --announce --channel telegram \
  --to "<your chat id>"

# openclaw cron is an alias for the same command

Why OpenClaw + Postiz for Facebook

OpenClaw's skill system makes Postiz a natural fit. The agent reads the SKILL.md to understand every available command, then autonomously chains them together for Facebook workflows.

  • Message from WhatsApp to post on Facebook — no terminal needed
  • Cron jobs for hands-free daily posting schedules
  • Structured JSON output lets OpenClaw verify each step succeeded
  • Link previews generated automatically when a URL is provided
  • Cross-post to Facebook + other platforms in a single conversation
  • Model-agnostic — works with Claude, GPT, Gemini, or open-source LLMs

SKILL.md (auto-discovered)

---
name: postiz
description: Postiz is a tool to schedule
  social media and chat posts to 28+
  channels ...
homepage: https://docs.postiz.com/public-api/introduction
metadata: {"openclaw":{"emoji":"🌎",
  "requires":{"bins":[],"env":["POSTIZ_API_URL"]}}}
---

# Essential Commands
- postiz auth:login
- postiz integrations:list
- postiz integrations:settings <id>
- postiz integrations:trigger
- postiz posts:create
- postiz upload <file>
- postiz analytics:platform <id>

# Facebook settings
url

Also Works with Claude Code

Postiz works with any AI agent that can run commands or call MCP tools — you ask, the agent does the work. That includes Anthropic's Claude Code, which has its own guide for posting to Facebook from Claude Code.

C

Claude Code

by Anthropic

Claude reads the Postiz skill so it knows what it can do, then autonomously discovers your Facebook integration, composes your post with a link preview if needed, and schedules the post.

Claude Code

> Share our new blog post on Facebook
  with a link preview, schedule for
  tomorrow morning

Claude: Done! Scheduled on Facebook for
  tomorrow at 9:00 AM.

Facebook + Other Platforms

Schedule the same content to Facebook and other platforms in a single request. Each platform gets its own settings.

Example

> Post "Excited to announce our new feature!" to
  Facebook and LinkedIn tomorrow at 9am, then schedule
  a daily tip on Facebook every weekday at 10am

OpenClaw: Done! Scheduled:
  - Facebook + LinkedIn: tomorrow 9:00 AM
  - Daily tips on Facebook: Mon-Fri 10:00 AM

Post Types

Text Post

No media, no URL

Link Post

Include url in settings

Media Post

Attach an image or video

What can you ask OpenClaw to do on Facebook?

These are real messages you can send OpenClaw from WhatsApp, Telegram, Slack, or Discord. OpenClaw maps each one to the right Postiz command and Facebook settings.

Link post

Send to OpenClaw

> Post this article link to our Facebook Page tomorrow at 10am with a two-sentence intro.

Photo post

Send to OpenClaw

> Share these three event photos on the Facebook Page tonight at 7pm with a thank-you message.

Cross-post

Send to OpenClaw

> Post the same announcement to Facebook and Instagram at noon, and add the shop link only on Facebook.

Facebook rules OpenClaw has to follow

Postiz enforces these Facebook constraints when OpenClaw creates a post. Knowing them up front avoids a failed request.

  • Postiz publishes to Facebook Pages, not personal profiles. Connect the Page in Postiz before asking OpenClaw to post.
  • Use the url setting when you want a link preview card. Facebook builds the preview from that URL, so paste the exact link in your message.
  • Attach either media or a link. When both are present, the uploaded media wins and the link appears as plain text.
  • Facebook Page posts have a generous character limit, but the feed truncates long text behind "See more". Put the hook in the first two lines.

OpenClaw and Facebook: frequently asked questions

How do I post to Facebook from OpenClaw?

Install the Postiz skill in OpenClaw, run postiz auth:login, and connect your Facebook Page in Postiz. Then message OpenClaw with the text, an optional link or image, and a time. OpenClaw runs postiz posts:create for the Facebook channel and confirms the schedule.

Can OpenClaw post to a personal Facebook profile?

No. Facebook's API only allows scheduling tools to publish to Pages, so Postiz connects Pages you manage. OpenClaw posts to whichever Page you connected. If you manage several Pages, name the Page in your message so OpenClaw selects the right channel.

Can OpenClaw add a link preview to a Facebook post?

Yes. Facebook has a url setting in Postiz. When your message includes a link, OpenClaw places it in that setting and Facebook renders the preview card with the page title and image. Without media attached, the preview becomes the visual for the post.

Does OpenClaw need a Meta developer app?

No. Postiz already has the Facebook integration, and OpenClaw only runs the Postiz CLI. You authorize Postiz once with your Facebook login, then authenticate OpenClaw with postiz auth:login or a Postiz API key. No app review or tokens are needed on your side.

Can OpenClaw schedule Facebook posts automatically every week?

Yes. Create an OpenClaw automation with a weekly cron expression and a prompt that drafts and schedules the Facebook Page post through Postiz. The job runs in an isolated session and can announce the scheduled link back to WhatsApp or Slack.

Start posting to Facebook

Install Postiz Agent and automate your Facebook content strategy with AI-powered scheduling and publishing.