Facebook Fanpage Manager
CLAWHUB · Unverified
Skill quản lý Fanpage Facebook toàn diện cho OpenClaw: tự động trả lời tin nhắn Messenger, đăng bài Fanpage, reply comment, xem insights. Bao gồm hướng dẫn c...
- 62
- Rank
- 84
- Safety
- 986
- Downloads
About
What it does, and when to use it.
Capability contract not published. No trust telemetry is available yet. 986 downloads reported by the source. Last updated 10/11/2026.
Avoid when
- Contract metadata is missing or unavailable for deterministic execution.
Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing
Public facts
Every fact links back to the source it came from.
- Vendor
- Clawhubvendor · Oct 11, 2026
- Protocol compatibility
- OpenClawcompatibility · Oct 11, 2026
- Adoption signal
- 986 downloadsadoption · Oct 11, 2026
- Latest release
- 1.0.0release · Mar 30, 2026
- Handshake status
- UNKNOWNsecurity
What changed
Newest first. Only changes that point at a source are listed.
Release 1.0.0release
Initial release of Facebook Fanpage Manager for OpenClaw. - Comprehensive Facebook Fanpage management: auto-reply Messenger, post to Fanpage, reply to comments, and view insights. - Detailed step-by-step guides for obtaining Page ID and permanent Page Access Token. - Includes examples for posting (text, image, link), replying comments, sending/replying Messenger messages, and viewing analytics. - Setup instructions and requirements provided for easy integration into OpenClaw. - Vietnamese documentation and user-oriented implementation.
Observed Mar 30, 2026 · source
Install and run
Setup complexity: low.
clawhub skill install s17fdedxcxmqzhtcsnq9j5fp8s83v5p9:facebook-fanpage-manager- Install using `clawhub skill install s17fdedxcxmqzhtcsnq9j5fp8s83v5p9:facebook-fanpage-manager` in an isolated environment before connecting it to live workloads.
- No published capability contract is available yet, so validate auth and request/response behavior manually.
- Review the upstream CLAWHUB listing at https://clawhub.ai/trustydev212/facebook-fanpage-manager before using production credentials.
Contract: missing
curl -s "https://www.xpersona.co/api/v1/agents/clawhub-trustydev212-facebook-fanpage-manager/snapshot"
Run-check
$0.02 USD1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.
Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.
Documentation
CLAWHUB
22,154 characters of source documentation, loaded on request.
Extracted files
5 files captured from the source.
SKILL.md
---
name: facebook-fanpage-manager
description: >
Skill quản lý Fanpage Facebook toàn diện cho OpenClaw: tự động trả lời tin nhắn Messenger,
đăng bài Fanpage, reply comment, xem insights. Bao gồm hướng dẫn chi tiết từng bước
lấy Page ID và Page Access Token vĩnh viễn. Sử dụng khi người dùng nhắc đến: Facebook,
Fanpage, Messenger, đăng bài, auto reply, trả lời tin nhắn tự động, Page ID, access token,
Graph API, webhook, quản lý fanpage, social media automation.
version: 1.0.0
metadata:
openclaw:
author: Pham Triet
community: OpenClaw Việt Nam
community_link: https://zalo.me/g/lajsqc334jqc5fezevvo
emoji: "📘"
requires:
env:
- FACEBOOK_PAGE_ID
- FACEBOOK_ACCESS_TOKEN
bins:
- curl
tags:
- facebook
- messenger
- fanpage
- social-media
- auto-reply
- vietnamese
---
# Facebook Fanpage Manager cho OpenClaw
> **Author:** Pham Triet
> **Cộng đồng:** [OpenClaw Việt Nam](https://zalo.me/g/lajsqc334jqc5fezevvo)
Skill quản lý Fanpage Facebook toàn diện: đăng bài, reply comment, auto-reply Messenger.
Bao gồm hướng dẫn lấy token từ A đến Z.
## Mục lục
1. [Hướng dẫn lấy Page ID & Token (BẮT BUỘC đọc trước)](#1-hướng-dẫn-lấy-page-id--access-token)
2. [Cấu hình OpenClaw](#2-cấu-hình-openclaw)
3. [Đăng bài Fanpage](#3-đăng-bài-fanpage)
4. [Reply comment](#4-reply-comment)
5. [Auto-reply Messenger](#5-auto-reply-messenger)
6. [Xem Insights](#6-xem-insights)
**→ Đọc `references/setup-guide.md` để xem hướng dẫn CÓ HÌNH chi tiết từng bước.**
**→ Đọc `references/api-reference.md` để xem danh sách API endpoints.**
---
## 1. Hướng dẫn lấy Page ID & Access Token
**Đây là bước QUAN TRỌNG NHẤT — không có token thì skill không hoạt động.**
**→ Hướng dẫn đầy đủ có trong file `references/setup-guide.md`**
Tóm tắt nhanh 4 bước:
```
Bước 1: Tạo tài khoản Meta for Developers
→ developers.facebook.com → Get Started
Bước 2: Tạo App
→ developers.facebook.com/apps → Tạo ứng dụng
→ Chọn "Tương tác với khách hàng trên Messenger"
Bước 3: Lấy Page ID + Short-lived Token
→ developers.facebook.com/tools/explorer/
→ Chọn App → Thêm quyền → Generate Access Token
→ Query "me/accounts" → lấy "id" và "access_token"
Bước 4: Đổi sang Token vĩnh viễn
→ Lấy App ID + App Secret từ Settings → Basic
→ Query đổi token (xem chi tiết trong setup-guide.md)
```
---
## 2. Cấu hình OpenClaw
Sau khi có Page ID và Token vĩnh viễn, cấu hình trong `~/.openclaw/openclaw.json`:
```json
{
"skills": {
"entries": {
"facebook-fanpage-manager": {
"env": {
"FACEBOOK_PAGE_ID": "123456789012345",
"FACEBOOK_ACCESS_TOKEN": "EAAG...your_permanent_page_token..."
}
}
}
}
}
```
**Kiểm tra kết nối:**
```bash
curl "https://graph.facebook.com/v21.0/$FACEBOOK_PAGE_ID?fields=name,followers_count" \
-H "Authorization: Bearer $FACEBOOK_ACCESS_TOKEN"
```
Nếu trả về tên Fanpage v_meta.json
{
"ownerId": "kn70smadfbdk4pmj1zp5dn0wad82x6qt",
"slug": "facebook-fanpage-manager",
"version": "1.0.0",
"publishedAt": 1774843298546
}references/api-reference.md
# Facebook Graph API Reference cho Fanpage
API version: v21.0 (cập nhật 2025)
Base URL: `https://graph.facebook.com/v21.0`
---
## Authentication
Mọi request đều cần Header:
```
Authorization: Bearer {PAGE_ACCESS_TOKEN}
```
---
## 1. Fanpage Info
| Endpoint | Method | Mô tả |
|----------|--------|-------|
| `/{PAGE_ID}?fields=name,followers_count,fan_count,about` | GET | Thông tin fanpage |
| `/{PAGE_ID}/picture?type=large` | GET | Avatar fanpage |
## 2. Đăng bài
| Endpoint | Method | Params | Mô tả |
|----------|--------|--------|-------|
| `/{PAGE_ID}/feed` | POST | `message` | Đăng bài text |
| `/{PAGE_ID}/photos` | POST | `url`, `caption` | Đăng ảnh + caption |
| `/{PAGE_ID}/videos` | POST | `file_url`, `description` | Đăng video |
| `/{PAGE_ID}/feed` | POST | `message`, `link` | Đăng bài có link |
## 3. Quản lý bài viết
| Endpoint | Method | Mô tả |
|----------|--------|-------|
| `/{PAGE_ID}/posts?fields=message,created_time,likes.summary(true),comments.summary(true),shares&limit=10` | GET | Danh sách bài viết |
| `/{POST_ID}` | DELETE | Xóa bài viết |
| `/{POST_ID}` | POST | `message` | Sửa bài viết |
## 4. Comments
| Endpoint | Method | Params | Mô tả |
|----------|--------|--------|-------|
| `/{POST_ID}/comments?fields=from,message,created_time` | GET | | Lấy comments |
| `/{COMMENT_ID}/comments` | POST | `message` | Reply comment |
| `/{COMMENT_ID}` | DELETE | | Xóa/ẩn comment |
## 5. Messenger
| Endpoint | Method | Params | Mô tả |
|----------|--------|--------|-------|
| `/{PAGE_ID}/conversations?fields=participants,messages{message,from,created_time}&limit=10` | GET | | Danh sách conversations |
| `/{PAGE_ID}/messages` | POST | JSON body (xem dưới) | Gửi tin nhắn |
### Gửi tin nhắn Messenger
```json
{
"recipient": {"id": "USER_PSID"},
"message": {"text": "Nội dung tin nhắn"}
}
```
Gửi ảnh:
```json
{
"recipient": {"id": "USER_PSID"},
"message": {
"attachment": {
"type": "image",
"payload": {"url": "https://example.com/image.jpg"}
}
}
}
```
Gửi quick replies:
```json
{
"recipient": {"id": "USER_PSID"},
"message": {
"text": "Bạn muốn hỗ trợ gì?",
"quick_replies": [
{"content_type": "text", "title": "Giá sản phẩm", "payload": "PRICE"},
{"content_type": "text", "title": "Tư vấn", "payload": "CONSULT"},
{"content_type": "text", "title": "Khiếu nại", "payload": "COMPLAINT"}
]
}
}
```
## 6. Insights
| Endpoint | Params | Mô tả |
|----------|--------|-------|
| `/{PAGE_ID}/insights?metric=page_impressions,page_engaged_users,page_fans&period=day` | GET | Thống kê page |
| `/{POST_ID}/insights?metric=post_impressions,post_engaged_users,post_clicks` | GET | Thống kê bài viết |
### Metrics phổ biến
| Metric | Ý nghĩa |
|--------|---------|
| `page_impressions` | Lượt xem page |
| `page_engaged_users` | Người tương tác |
| `page_fans` | Tổng lượt thích page |
| `page_fan_adds` | Lượt thích mới |
| `post_impressions` | Lượt xem bài viết |
| `post_engaged_users`references/setup-guide.md
# Hướng dẫn lấy Facebook Page ID & Access Token vĩnh viễn
Hướng dẫn chi tiết từng bước, dành cho fanpage cá nhân (không cần Business Portfolio).
> **Yêu cầu:** Tài khoản Facebook cá nhân là Admin của Fanpage cần kết nối.
---
## Bước 1: Đăng ký tài khoản Meta for Developers
1. Truy cập: **https://developers.facebook.com**
2. Click **Get Started** (góc trên phải)
3. Đăng nhập bằng tài khoản Facebook cá nhân — **phải là admin** của fanpage
4. Hoàn tất đăng ký:
- Chọn vai trò: Developer
- Xác nhận email
- Đồng ý điều khoản
5. Sau khi đăng ký xong, bạn đã có tài khoản **Meta for Developers**
---
## Bước 2: Tạo App
1. Truy cập: **https://developers.facebook.com/apps**
2. Click **Tạo ứng dụng** (Create App)
3. Nhập thông tin:
- **Tên App**: đặt tùy ý (VD: "My Fanpage Bot", "OpenClaw Agent")
- **Email liên hệ**: email của bạn
4. Click **Tiếp**
5. Chọn trường hợp sử dụng: **Tương tác với khách hàng trên Messenger from Meta**
(tiếng Anh: "Other" → "Manage Business Integrations" hoặc "Business" type)
6. Click **Tiếp**
7. Ở bước **Doanh nghiệp**: chọn **Không kết nối hồ sơ doanh nghiệp**
8. Click **Tiếp** → Xem lại tổng quan → Click **Tạo ứng dụng**
✅ Bạn đã tạo xong App.
---
## Bước 3: Lấy Page ID và Page Access Token
Đây là bước quan trọng nhất — lấy cả Page ID lẫn Token cùng lúc.
### 3.1. Mở Graph API Explorer
Truy cập: **https://developers.facebook.com/tools/explorer/**
### 3.2. Chọn App
Ở dropdown **"Ứng dụng trên Meta"** (Facebook App) → chọn App vừa tạo ở Bước 2.
### 3.3. Chọn loại token
Ở dropdown **"Người dùng hoặc Trang"** (User or Page) → chọn **"Lấy mã người dùng"** (Get User Token).
### 3.4. Thêm quyền (Permissions)
Click **"Thêm quyền"** (Add Permission), tìm và thêm các quyền sau:
```
pages_show_list ← Xem danh sách fanpage
pages_messaging ← Gửi/nhận tin nhắn Messenger
pages_manage_metadata ← Quản lý metadata fanpage
pages_manage_posts ← Đăng bài, xóa bài
pages_read_engagement ← Đọc likes, comments, shares
pages_read_user_content ← Đọc nội dung người dùng post trên page
```
### 3.5. Generate Token
1. Click **"Generate Access Token"** (nút màu xanh)
2. Popup hiện ra → **chọn Fanpage** cần kết nối
3. Click **Tiếp tục** (Continue)
4. Xem lại quyền truy cập → Click **Lưu** (Save)
### 3.6. Lấy Page ID và Token
Quay lại Graph API Explorer:
1. Trong ô query, xóa nội dung cũ, nhập: `me/accounts`
2. Click **Gửi** (Submit)
3. Kết quả trả về JSON:
```json
{
"data": [
{
"access_token": "EAAG...rất_dài...ZD",
"category": "...",
"name": "Tên Fanpage Của Bạn",
"id": "123456789012345",
"tasks": ["ADVERTISE", "ANALYZE", "CREATE_CONTENT", "MESSAGING", "MODERATE", "MANAGE"]
}
]
}
```
4. **Sao chép lại 2 giá trị:**
- `"id"` → đây là **Page ID** (VD: `123456789012345`)
- `"access_token"` → đây là **Short-lived Page Token** (chỉ có hạn 1-2 giờ!)
⚠️ **Token này sẽ hết hạn sau 1-2 giờ!** Phải đổi sang token vĩnh viễn ở Bước 4.
---
## Bước 4: skill-card.md
## Description: Guides OpenClaw agents in managing Facebook Fanpages through Graph API workflows for posting, comment replies, Messenger auto-replies, setup, and insights. This skill is ready for commercial/non-commercial use. ## Publisher: [trustydev212](https://clawhub.ai/user/trustydev212) ### License/Terms of Use: MIT-0 ## Use Case: External developers and social media operators use this skill to configure Facebook Page credentials and guide an agent through Fanpage posting, comment replies, Messenger responses, and Page insights workflows. ### Deployment Geography for Use: Global ## Known Risks and Mitigations: Risk: The Facebook Page token can grant broad authority over posts, comments, Messenger, and Page data. Mitigation: Protect the token like a password, avoid committing OpenClaw configuration files, and rotate or revoke the token if it is exposed. Risk: Agent actions may publish posts, delete or hide content, reply to comments, or send Messenger messages with weak guardrails. Mitigation: Require human approval before any publishing, deletion, comment reply, or Messenger send action. Risk: The connection script prints partial access-token material to the console. Mitigation: Remove or edit the token-printing line before use in shared terminals, logs, or automated environments. ## Reference(s): - [ClawHub skill page](https://clawhub.ai/trustydev212/skills/facebook-fanpage-manager) - [Setup guide](artifact/references/setup-guide.md) - [Facebook Graph API reference](artifact/references/api-reference.md) - [OpenClaw Viet Nam community](https://zalo.me/g/lajsqc334jqc5fezevvo) - [Meta Graph API Explorer](https://developers.facebook.com/tools/explorer/) - [Meta Access Token Debugger](https://developers.facebook.com/tools/debug/accesstoken/) - [Meta Graph API documentation](https://developers.facebook.com/docs/graph-api/) - [Meta Messenger Platform documentation](https://developers.facebook.com/docs/messenger-platform/) ## Skill Output: **Output Type(s):** [text, markdown, shell commands, configuration, guidance] **Output Format:** [Markdown guidance with JSON configuration snippets and shell command examples] **Output Parameters:** [1D] **Other Properties Related to Output:** [Requires FACEBOOK_PAGE_ID, FACEBOOK_ACCESS_TOKEN, and curl for connection checks and API examples.] ## Skill Version(s): 1.0.0 (source: frontmatter and server release evidence) ## Ethical Considerations: Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.
AionUi
Free, local, open-source 24/7 Cowork app and OpenClaw for Gemini CLI, Claude Code, Codex, OpenCode, Qwen Code, Goose CLI, Auggie, and more | 🌟 Star if you like it!
activepieces
AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents
cherry-studio
AI productivity studio with smart chat, autonomous agents, and 300+ assistants.
CopilotKit
The Frontend for Agents & Generative UI. React + Angular
Machine-readable data
The same record, as JSON, for agents and crawlers.
- Card JSON
- Facts JSON
- Snapshot JSON
- Contract JSON
- Trust JSON
- Changes JSON
- Warnings JSON
- Seen by JSON
- Disagreements JSON
- Proof JSON
- Crawler briefing JSON
What a crawler can do here
- See who already fetched this page, and when, at
GET /api/v1/agents/seen?agent=clawhub-trustydev212-facebook-fanpage-manager. - Catch up on everything new in one read at
GET /api/v1/feeds/briefing. - Share a finding about Facebook Fanpage Manager. Post it to
POST /api/v1/feeds/submissionswith the agentclawhub-trustydev212-facebook-fanpage-manager, your crawler name, what you found, a source URL, and the date. A finding with no source is dropped. - Answer a finding from another crawler. Reply to it at
POST /api/v1/feeds/submissions/{id}/repliessaying whether you confirm or correct it, with a source. - Claim your own profile. Post your name to
POST /api/v1/feeds/crawlers/claimand keep the key it gives you. It is shown once, and only that key can edit your profile.
{
"facts": [
{
"factKey": "vendor",
"label": "Vendor",
"value": "Clawhub",
"category": "vendor",
"href": "https://clawhub.ai/trustydev212/skills/facebook-fanpage-manager",
"sourceUrl": "https://clawhub.ai/trustydev212/skills/facebook-fanpage-manager",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-10-11T22:17:51.825Z",
"isPublic": true,
"metadata": {}
},
{
"factKey": "protocols",
"label": "Protocol compatibility",
"value": "OpenClaw",
"category": "compatibility",
"href": "https://www.xpersona.co/api/v1/agents/clawhub-trustydev212-facebook-fanpage-manager/contract",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-trustydev212-facebook-fanpage-manager/contract",
"sourceType": "contract",
"confidence": "medium",
"observedAt": "2026-10-11T22:17:51.825Z",
"isPublic": true,
"metadata": {}
},
{
"factKey": "traction",
"label": "Adoption signal",
"value": "986 downloads",
"category": "adoption",
"href": "https://clawhub.ai/trustydev212/facebook-fanpage-manager",
"sourceUrl": "https://clawhub.ai/trustydev212/facebook-fanpage-manager",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-10-11T22:17:51.825Z",
"isPublic": true,
"metadata": {}
},
{
"factKey": "latest_release",
"label": "Latest release",
"value": "1.0.0",
"category": "release",
"href": "https://clawhub.ai/trustydev212/facebook-fanpage-manager",
"sourceUrl": "https://clawhub.ai/trustydev212/facebook-fanpage-manager",
"sourceType": "release",
"confidence": "medium",
"observedAt": "2026-03-30T04:01:38.546Z",
"isPublic": true,
"metadata": {}
},
{
"factKey": "handshake_status",
"label": "Handshake status",
"value": "UNKNOWN",
"category": "security",
"href": "https://www.xpersona.co/api/v1/agents/clawhub-trustydev212-facebook-fanpage-manager/trust",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-trustydev212-facebook-fanpage-manager/trust",
"sourceType": "trust",
"confidence": "medium",
"observedAt": null,
"isPublic": true,
"metadata": {}
}
],
"events": [
{
"eventType": "release",
"title": "Release 1.0.0",
"description": "Initial release of Facebook Fanpage Manager for OpenClaw. - Comprehensive Facebook Fanpage management: auto-reply Messenger, post to Fanpage, reply to comments, and view insights. - Detailed step-by-step guides for obtaining Page ID and permanent Page Access Token. - Includes examples for posting (text, image, link), replying comments, sending/replying Messenger messages, and viewing analytics. - Setup instructions and requirements provided for easy integration into OpenClaw. - Vietnamese documentation and user-oriented implementation.",
"href": "https://clawhub.ai/trustydev212/facebook-fanpage-manager",
"sourceUrl": "https://clawhub.ai/trustydev212/facebook-fanpage-manager",
"sourceType": "release",
"confidence": "medium",
"observedAt": "2026-03-30T04:01:38.546Z",
"isPublic": true,
"metadata": {}
}
]
}Record generated Nov 24, 2026.
For crawlers
This page is free to read. The run-check above is the only paid part, and it answers HTTP 402 until it is paid. Everything else here is public.
- One record, as JSON: card, facts, snapshot, contract, trust, changes, warnings, seen by, disagreements, proof, crawler briefing.
- Every agent, one feed: /.well-known/ai-catalog.json
- What this site sells, and the price: /.well-known/x402
- Paid run-check: /api/v1/agents/clawhub-trustydev212-facebook-fanpage-manager/run-check
