doodle top mobile

Post to Facebook from NanoClaw

NanoClaw can publish and schedule Facebook Page posts through Postiz. Message NanoClaw from WhatsApp, Telegram, Slack, or Discord with the text, an optional link or media file, and a time. It uses the Postiz skill to build the post, attach a rich link preview when you include a URL, and schedule it on your Page.

Setup GuideGitHub

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

Last updated: September 2026

doodle left mobiledoodle right mobile

How do I set up NanoClaw to post to Facebook?

Setup, then just ask

# 1. Install NanoClaw (once)
git clone https://github.com/nanocoai/nanoclaw.git
cd NanoClaw && bash nanoclaw.sh

# 2. Add the Postiz skill to your NanoClaw fork
npx skills add gitroomhq/postiz-agent

# 3. Authenticate Postiz (OAuth device flow)
postiz auth:login   # or: export POSTIZ_API_KEY=...

# 4. Connect Facebook in Postiz, then message NanoClaw:
> Post our launch announcement to the
  Facebook page tomorrow at 9am

NanoClaw: Done! Your Facebook post is scheduled.

Which Facebook features does NanoClaw support?

✍

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 do I post to Facebook from NanoClaw?

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

1

Find Your Facebook Integration

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

Example conversation

> Is my Facebook account connected to Postiz?

NanoClaw: 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

NanoClaw: 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

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

Facebook Settings Reference

Mention any of these in plain language and NanoClaw 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 NanoClaw for any of these common Facebook scenarios and it applies the matching settings.

Simple Text Post

Just ask

> Post it with: Simple Text Post

NanoClaw: Got it. Applying:
  (defaults)

Post with Link Preview

Just ask

> Post it with: Post with Link Preview

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

Product Launch Announcement

Just ask

> Post it with: Product Launch Announcement

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

What is NanoClaw?

NanoClaw is an open-source AI assistant that runs each agent in its own Docker container and is built on Anthropic's Claude Agent SDK. It was created as a smaller, easier-to-audit alternative to OpenClaw. It connects to WhatsApp, Telegram, Slack, Discord, Microsoft Teams, iMessage, and more, and supports per-group memory and recurring jobs.

📦

Container-Based

NanoClaw runs in containers for easy deployment and isolation. Spin up your social media automation agent in seconds with Docker.

💬

Multi-Platform Chat

Connect to WhatsApp, Telegram, Slack, Discord, Microsoft Teams, and more. Message NanoClaw from wherever you already communicate.

🧠

Memory & Context

NanoClaw remembers your preferences and past interactions. It learns your posting style and content strategy over time.

How Postiz Works with NanoClaw

NanoClaw discovers Postiz through its skill system. Add the Postiz skill to your NanoClaw fork and the agent reads the SKILL.md to learn every postiz command, then runs them inside its own container when you ask.

  • ✓Install Postiz skill with npx skills add gitroomhq/postiz-agent
  • ✓NanoClaw reads the SKILL.md and learns all Postiz commands
  • ✓Authenticate with postiz auth:login (OAuth device flow) or a POSTIZ_API_KEY
  • ✓Skills are loaded on-demand, keeping the agent context clean
  • ✓Built on Anthropic's Claude Agent SDK, running in an isolated Docker container

Install Postiz

# In your NanoClaw fork: add the Postiz skill
npx skills add gitroomhq/postiz-agent

# Sign in to Postiz (OAuth device flow)
postiz auth:login

# Or use an API key instead
export POSTIZ_API_KEY=your_api_key

# Check the connection
postiz auth:status
postiz integrations:list

Facebook Posting with NanoClaw

Message NanoClaw from WhatsApp, Telegram, or Slack — it discovers your integrations via Postiz, composes your content, and handles the entire posting workflow from within its container.

🐳

From Any Chat App

WhatsApp, Telegram, Slack, or Discord

Send a message to NanoClaw from your favorite chat app. It runs as a background service in an isolated container, 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.

NanoClaw

You: Post to Facebook about our new
  feature launch, schedule for tomorrow
  at 9am

NanoClaw: On it! Here's my plan:
  1. Found your Facebook integration
  2. Composing your post
  3. Scheduling for tomorrow 9:00 AM

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

Scheduled & Proactive

Recurring jobs, requested in chat

NanoClaw supports recurring jobs you request in chat. Set up a recurring job that checks for new blog posts and shares them on Facebook automatically — no manual trigger needed.

Recurring job (ask in chat)

> @Andy every weekday at 9am, check
  ~/content/posts for new files and
  schedule each one to Facebook for
  noon. Move posted files to
  ~/content/published.

NanoClaw: Got it. I'll run this every
  weekday at 9:00 AM and schedule the
  posts through Postiz.

Why NanoClaw + Postiz for Facebook

NanoClaw makes Postiz a natural fit for your Facebook workflow. The agent discovers all available commands and autonomously chains them together.

  • ✓Message from WhatsApp or Telegram to post to Facebook — no terminal needed
  • ✓Container-based — easy to deploy, isolate, and scale
  • ✓Built-in memory remembers your content preferences
  • ✓Scheduled jobs for hands-free daily posting
  • ✓Cross-post to Facebook + other platforms in a single conversation
  • ✓Built on Anthropic's Claude Agent SDK, with each agent group in its own container

SKILL.md (auto-discovered)

---
name: postiz
description: Social media automation
  CLI for scheduling posts across
  30+ platforms including Facebook
metadata:
  NanoClaw:
    requirements:
      env:
        - POSTIZ_API_KEY
      binaries:
        - postiz
---

# Available Commands
- postiz integrations:list
- postiz integrations:settings <id>
- postiz posts:create
- postiz upload <file>
- postiz analytics:platform <id>

# Facebook Settings
__type, url

Does Postiz work with other agents too?

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.

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.

Can NanoClaw post to Facebook and other platforms at once?

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

NanoClaw: 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 I ask NanoClaw to post on Facebook?

You can ask NanoClaw for anything Postiz supports on Facebook: a single post, a scheduled batch, or a recurring job. These are prompts you would type in WhatsApp, Telegram, Slack, or Discord. @Andy is NanoClaw's default trigger word; use whatever name you gave your agent.

Link post with preview

Say to NanoClaw

> @Andy share our new blog post https://postiz.com/blog/... on the Facebook Page tomorrow at 10am with a two-sentence summary

NanoClaw: Sets url for a rich link preview and schedules the text for 10:00 AM.

Photo post

Say to NanoClaw

> @Andy post these three event photos to Facebook tonight at 8pm with a thank-you message

NanoClaw: Uploads three images through Postiz and schedules a multi-image post.

Cross-post

Say to NanoClaw

> @Andy post the announcement to Facebook and LinkedIn at 9am, but keep the Facebook version more casual

NanoClaw: Creates two posts with different wording, one per channel, both scheduled for 9:00 AM.

What should I know before posting to Facebook from NanoClaw?

Facebook has a few rules that Postiz enforces at publish time. NanoClaw applies them when you mention them in plain language, and asks when a required value is missing.

  • ✓Postiz posts to Facebook Pages you manage, not to a personal profile timeline. Connect the Page in Postiz before asking NanoClaw to post.
  • ✓To get a rich link card, put the URL in the url setting (NanoClaw does this when you say "share this link"). A URL only inside the text may not render the same preview.
  • ✓Images and videos are uploaded through Postiz first. Send them in chat or reference a file path NanoClaw can read from its container.
  • ✓Facebook posts can be long, but the feed truncates them. Ask NanoClaw to lead with the key sentence so it shows before the "See more" fold.

Frequently asked questions about NanoClaw and Facebook

How do I post to Facebook from NanoClaw?

Add the Postiz skill to NanoClaw with npx skills add gitroomhq/postiz-agent, authenticate with postiz auth:login, and connect your Facebook Page in Postiz. Then message NanoClaw with the post text, any link or media, and the time. It creates the post through Postiz and confirms the schedule.

Can NanoClaw post to my personal Facebook profile?

No. Postiz publishes to Facebook Pages, which is what Facebook's API supports for scheduling tools. If you run a business, brand, or creator Page, connect it in Postiz and NanoClaw can post there. Personal timelines are not available through Postiz or any compliant scheduler.

Can NanoClaw attach a link preview to Facebook posts?

Yes. When you ask NanoClaw to share a link, it places the URL in the Facebook url setting and Facebook generates the preview card with title, description, and image from that page. You can still write your own text above the card. The preview is fetched by Facebook at publish time.

Can NanoClaw schedule Facebook posts automatically every day?

Yes. Ask NanoClaw in chat for a recurring job, for example "every day at 5pm post one item from ~/content/facebook to the Page". It wakes on that schedule, reads the next item, and schedules it through Postiz. You can review or cancel anything in the Postiz calendar before it goes live.

Does NanoClaw need Facebook developer credentials?

No. You connect the Facebook Page to Postiz with OAuth once, and Postiz keeps that connection current. NanoClaw authenticates to Postiz with postiz auth:login (an OAuth device flow) or a POSTIZ_API_KEY set in its container. No Facebook app IDs or tokens are needed on the NanoClaw side.

Start posting to Facebook

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