Access Facebook Pages via the Graph API with managed OAuth authentication. Post content, read engagement, manage comments and messages, and view insights from chat.
This skill uses ClawLink for hosted connection flows and credentials so you do not need to configure Facebook API access yourself.
| Step 1: Install | Step 2: Pair Account | Step 3: Connect Facebook |
|---|---|---|
| :---: | :---: | :---: |
| !Install | !Pair | App-specific connection GIF coming soon |
| Run the install command in OpenClaw | Sign in and approve the device | Open the dashboard and connect Facebook |
┌─────────────────┐ ┌──────────────┐ ┌──────────────────┐
│ OpenClaw │────▶│ ClawLink │────▶│ Facebook Graph │
│ (User Chat) │ │ (OAuth) │ │ API │
└─────────────────┘ └──────────────┘ └──────────────────┘
│ │ │
│ 1. Install Plugin │ │
│ 2. Pair Device │ │
│ 3. Connect Facebook │ │
│ │ 4. Secure Token │
│ │ 5. Proxy Requests │
│ │ │
▼ ▼ ▼
┌──────────┐ ┌──────────┐ ┌──────────┐
│ SKILL │ │ Dashboard│ │ Facebook │
│ File │ │ Auth │ │ Business │
└──────────┘ └──────────┘ └──────────┘
Install the verified ClawLink plugin from ClawHub. After the user confirms, complete the full setup so ClawLink tools are visible in the next OpenClaw chat.
openclaw plugins install clawhub:clawlink-plugin
openclaw config set tools.alsoAllow '["clawlink-plugin"]' --strict-json
openclaw gateway restart
Then tell the user: "OpenClaw has been restarted. Send /new as a standalone message to start a fresh chat, then ask for Facebook again."
# List integrations
clawlink_list_integrations
# List Facebook tools
clawlink_list_tools --integration facebook
# Search for a specific tool
clawlink_search_tools --query "post" --integration facebook
All Facebook tool calls are authenticated automatically by ClawLink using the user's connected Facebook account.
No API key is required in chat. ClawLink stores the OAuth token securely and injects it into every Facebook Graph API request on the user's behalf.
clawlink_begin_pairing if it is not configured yet.clawlink_list_integrations to verify the connection is active.clawlink_list_integrations
Response: Returns all connected integrations. Look for facebook in the list.
clawlink_list_tools --integration facebook
Response: Returns the live tool catalog for Facebook.
If Facebook tools are missing or the connection shows an error:
clawlink_list_integrations to verifyclawlink_list_tools --integration facebookclawlink_list_integrations to confirm Facebook is connected.clawlink_list_tools --integration facebook to see the live catalog.clawlink_search_tools with a short query and integration facebook.┌─────────────────────────────────────────────────────────────┐
│ READ OPERATIONS (Safe) │
│ list → get → search → describe → call │
│ │
│ Example: List posts → Get insights → Show results │
└─────────────────────────────────────────────────────────────┘
│
▼
┌─────────────────────────────────────────────────────────────┐
│ WRITE OPERATIONS (Require Confirmation) │
│ list → get → describe → preview → confirm → call │
│ │
│ Example: Describe tool → Preview changes → User approves │
│ → Execute update │
└─────────────────────────────────────────────────────────────┘
clawlink_describe_tool first.whenToUse, askBefore, safeDefaults, examples, and followups to shape the call.clawlink_preview_tool first.clawlink_call_tool. Pass confirmation only after the preview matches the user's intent.| Tool | Description | Mode |
|---|---|---|
| ------ | ------------- | ------ |
facebook_list_managed_pages | List Pages the user manages | Read |
facebook_get_page_details | Get Page metadata and settings | Read |
facebook_get_page_roles | Get Page roles and permissions | Read |
facebook_update_page_settings | Update Page settings | Write |
| Tool | Description | Mode |
|---|---|---|
| ------ | ------------- | ------ |
facebook_get_page_posts | Get posts from a Page | Read |
facebook_get_post | Get a specific post | Read |
facebook_create_post | Create a text or link post | Write |
facebook_create_photo_post | Create a photo post | Write |
facebook_update_post | Update an existing post | Write |
facebook_delete_post | Delete a post | Write |
facebook_get_scheduled_posts | Get scheduled posts | Read |
facebook_publish_scheduled_post | Publish a scheduled post | Write |
| Tool | Description | Mode |
|---|---|---|
| ------ | ------------- | ------ |
facebook_get_comments | Get comments on a post | Read |
facebook_get_comment | Get a specific comment | Read |
facebook_create_comment | Create a comment on a post | Write |
facebook_update_comment | Update a comment | Write |
facebook_delete_comment | Delete a comment | Write |
| Tool | Description | Mode |
|---|---|---|
| ------ | ------------- | ------ |
facebook_get_page_conversations | Get Page conversations | Read |
facebook_get_conversation_messages | Get messages in a conversation | Read |
facebook_send_message | Send a message from the Page | Write |
facebook_send_media_message | Send media (image/video) message | Write |
facebook_mark_message_seen | Mark a message as seen | Write |
| Tool | Description | Mode |
|---|---|---|
| ------ | ------------- | ------ |
facebook_get_page_insights | Get Page analytics and metrics | Read |
facebook_get_post_insights | Get post-specific insights | Read |
facebook_get_post_reactions | Get reactions on a post | Read |
| Tool | Description | Mode |
|---|---|---|
| ------ | ------------- | ------ |
facebook_create_photo_album | Create a photo album | Write |
facebook_get_page_photos | Get Page photos | Read |
facebook_upload_photos_batch | Upload multiple photos | Write |
clawlink_call_tool --tool "facebook_list_managed_pages" \
--params '{}'
clawlink_call_tool --tool "facebook_get_page_posts" \
--params '{
"page_id": "YOUR_PAGE_ID",
"limit": 20
}'
clawlink_call_tool --tool "facebook_create_post" \
--params '{
"page_id": "YOUR_PAGE_ID",
"message": "Hello from ClawLink! This is an automated post."
}'
clawlink_call_tool --tool "facebook_get_post_insights" \
--params '{
"post_id": "YOUR_POST_ID"
}'
source field) are time-limited; download promptly if long-term access is needed.| Status / Error | Meaning |
|---|---|
| ---------------- | --------- |
| Tool not found | The tool name does not exist in the current catalog. Verify with clawlink_list_tools --integration facebook. |
| Missing connection | Facebook is not connected. Direct the user to https://claw-link.dev/dashboard?add=facebook. |
(#404) Page not found | The Page ID does not exist or is not accessible. |
(#200) Permission denied | The app does not have the required permission. |
(#190) Token expired | The access token has expired. Reconnect Facebook. |
| Write rejected | User did not confirm a write action. Always confirm before executing writes. |
```bash
openclaw plugins list
```
/new as a standalone message to reload the catalog.```bash
openclaw config set tools.alsoAllow '["clawlink-plugin"]' --strict-json
openclaw gateway restart
```
/new again and retry.facebook.clawlink_describe_tool to verify parameter names and types before calling.clawlink_preview_tool first.Powered by ClawLink — an integration hub for OpenClaw
共 2 个版本