Free During Beta · 1 Page Included

Connect Facebook & Instagram to Your AI Agent

OpenClaw meets Meta Messenger. No developer account. No app review. No cost.
Just connect and go.

1M+
chats/day
1,000+
connected pages
2 min
setup time
Free
beta

The Problem

OpenClaw supports LINE, Telegram, WhatsApp, Discord, Slack, iMessage…
but not Facebook or Instagram. Until now.

❌ The Old Way

  • Create Meta developer account
  • Register an app
  • Submit for app review (weeks)
  • Handle compliance updates
  • Pay for messaging platform
  • Manage webhook infrastructure

✅ With OneChat

  • Sign up on OneChat (free)
  • Connect your page (1 click)
  • Set webhook URL
  • Copy token, done
  • Free during beta (1 page)
  • OneChat handles it all

How It Works

OneChat is a Meta-certified platform. It handles the API complexity so you don't have to.

💬
User on
Messenger / IG
📘
Meta
Platform
💬
OneChat
webhook relay
🤖
OpenClaw
AI Agent
📤
Graph API
Reply

📥 Inbound

User sends message → Meta delivers to OneChat → OneChat forwards raw Meta webhook to your OpenClaw instance

📤 Outbound

OpenClaw AI generates reply → sends directly to Facebook Graph API with the page token → User gets the message

Setup Guide

From zero to Facebook Messenger in under 5 minutes.

1

Sign up on OneChat

Go to onechat.ai and create a free account. Email or Facebook login.

2

Connect your Facebook Page

In the OneChat dashboard, click Connect Page. Log in with Facebook, grant permissions, select your page.

3

Set your webhook URL

Go to your page's Settings → OneChat Settings tab. In the Webhook field, enter your OpenClaw endpoint:

https://your-openclaw.example.com/webhook/facebook
4

Copy the Page Token

In the same settings area, find the Page Access Token (โทเคนเข้าถึงเพจ) and copy it.

5

Configure OpenClaw

Add the Facebook channel to your OpenClaw config:

channels:
  facebook:
    enabled: true
    page_access_token: "EAAxxxxxxx..."
    verify_token: "your-secret"
    webhook_path: /webhook/facebook
6

Test it

Send a message to your Facebook Page on Messenger. Watch it arrive in OpenClaw. Your AI agent responds. 🎉

📋 Prerequisites

  • OpenClaw instance running with a public URL (or tunnel: ngrok, Cloudflare Tunnel)
  • A Facebook Page you admin
  • That's it. Seriously.

Technical Details

OneChat forwards messages in a simplified format — no Meta wrapper needed.

Incoming Webhook Payload

OneChat sends each message as a single event — no wrapper needed.

{
  "sender": { "id": "USER_PSID" },
  "recipient": { "id": "PAGE_ID" },
  "message": {
    "mid": "m_abc123",
    "text": "Hello!"
  }
}

Sending Replies

curl -X POST \
  "https://graph.facebook.com/v19.0/me/messages" \
  -H "Content-Type: application/json" \
  -d '{
    "recipient": {"id": "USER_PSID"},
    "message": {"text": "Hello!"},
    "access_token": "YOUR_PAGE_TOKEN"
  }'

Supported Events

message.textText messages
message.attachmentsImages, files, audio, video
postbackButton taps, get started
readRead receipts
deliveryDelivery confirmations
referralm.me links, ads

Latency

User → Meta~50ms
Meta → OneChat~50ms
OneChat → OpenClaw~50-150ms
AI Processing~500-3000ms
Reply → User~150ms
Total~800-3500ms

Dominated by AI inference, not the relay.

FAQ

Is it really free?

Yes. OneChat is free for all users — completely free during our beta period — includes 1 Facebook page. No credit card required.

Do I need a Meta developer account?

No. OneChat is a Meta-certified partner. They handle app review and compliance. You just connect your page.

Does it work with Instagram?

Yes. If your Instagram is linked to your Facebook Page (via Meta Business Suite), DMs flow through the same webhook automatically.

Can I connect multiple pages?

Yes. Repeat the setup for each page. Each gets its own webhook URL and page token.

What about WhatsApp?

WhatsApp Business API is separate. OpenClaw supports WhatsApp through other integrations. This integration covers Messenger + Instagram DMs.

What webhook format does it use?

OneChat sends each message as a single event object (sender, recipient, message) — simpler than Meta's nested format. No wrapper to unwrap.

Do I need a public URL?

Yes, for the webhook. Use a public server or a tunnel (ngrok, Cloudflare Tunnel) during development.

Is my data safe?

OneChat is Meta-certified and meets their security requirements. All traffic uses HTTPS. Store your page token securely.

How fast is it?

The relay adds ~50-200ms. Total response time is dominated by AI inference (0.5-3s), not the webhook relay.

Can I still use OneChat's chatbot?

Setting a custom webhook routes messages to your endpoint. For full AI control, let OpenClaw handle everything.

What if OneChat goes down?

Webhooks won't forward during downtime. OneChat serves 1M+ chats/day across 1,000+ pages — they're battle-tested. But plan for edge cases.

Who built this?

OneChat.ai (Touchcore Co., Ltd.) — a Thai Meta-certified platform. OpenClaw — open-source AI agent framework.

Ready to connect?

Your AI agent is 2 minutes away from Facebook & Instagram.