← 返回 Skills 市场
clawbus

Facebook Pages

作者 clawbus · GitHub ↗ · v1.0.1 · MIT-0
cross-platform ✓ 安全检测通过
51
总下载
0
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install clawbus-facebook-pages
功能描述
Publish and manage Facebook Page content through a preconfigured MyBrandMetrics API connection. Use this skill to connect Facebook Pages, list connected acco...
使用说明 (SKILL.md)

Facebook Pages

Publish Facebook Page posts, photos, and videos; read Page feeds and comments; moderate comments; and fetch Page or post insights through the MyBrandMetrics Facebook Pages API.

Use this skill when the user wants to connect Facebook Pages, list available Pages, post to a Facebook Page, publish a Page photo, upload a Page video, read Page posts, reply to Page comments, hide or unhide comments, delete comments, or check Page and post insights.

Website: https://www.clawbus.com/
MyBrandMetrics API: https://mybrandmetrics.com/

Why This Facebook Pages Skill

This skill Building your own Facebook Pages integration
Use one MyBrandMetrics connection for Facebook Pages. Set up and maintain your own Meta app, auth flow, and Page token storage.
Target a Page by page_id, account_id, or connection_id when supported. Build your own account and Page resolution layer before each request.
Publish feed posts, photos, and videos through one script. Implement separate Page post, photo, and video endpoints yourself.
Read feeds, comments, Page insights, and post insights from the same tool. Wire together multiple Graph API read paths, fields, pagination, and metrics.
Create, edit, hide, unhide, and delete comments with explicit commands. Build your own comment moderation workflow and safety checks.
Return the real MyBrandMetrics JSON response. Build response normalization, error handling, and retry decisions yourself.

Use this when you want Facebook Page publishing, moderation, and insights without building a full Facebook Pages backend yourself.

Core Capabilities

Capability Details
Connect Pages Start the Facebook Pages OAuth connection flow through MyBrandMetrics.
List connections List connected Meta accounts for the facebook_pages source.
List Pages List available Facebook Pages for the connected account.
Publish feed posts Create Page feed posts with text, links, optional picture URLs, and optional unpublished mode.
Publish photos Publish Page photo posts from public image URLs.
Publish videos Publish Page video posts from public video URLs.
Read Page feed Fetch Page feed posts with configurable fields, limit, and pagination cursors.
Read comments Fetch comments for a post or object with fields, limit, and pagination cursors.
Manage comments Create comments, edit comment text, hide or unhide comments, and delete comments.
Page insights Fetch Page insight metrics with period and date range options.
Post insights Fetch post insight metrics by post_id or object_id.

Setup Flow

  1. Open https://mybrandmetrics.com/ and sign in.
  2. Connect Facebook Pages through MyBrandMetrics.
  3. Get a MyBrandMetrics bearer token or API key.
  4. Install the clawbus-facebook-pages skill.
  5. Provide credentials through command-line arguments, environment variables, or a workspace config.json.
  6. List connections and available Pages if you do not already know the target.
  7. Run the publish, feed, comment, or insights workflow.

For photos and videos, the media URL must be publicly reachable.

Credentials

Use a MyBrandMetrics bearer token or API key. You can provide it through command line flags, environment variables, or a workspace config file. If the target Page is already known, provide page_id; otherwise list available Pages first.

For the full credential shape, see references/configuration.md.

Workflow

Use natural-language prompts after the skill is installed. Include:

  • the task: connect, list Pages, publish, read feed, manage comments, or fetch insights;
  • the target page_id, account_id, or connection_id;
  • the post message, link, photo URL, or video URL for publishing;
  • the object_id, post_id, or comment_id for comment and insights work;
  • the fields, metrics, period, date range, limit, or pagination cursor when needed.

Before creating, updating, hiding, unhiding, deleting, or publishing anything, confirm the target Page, content, IDs, and intended visibility. Read-only list, feed, comments, and insights calls can run after the target is clear.

Use The Script Directly

Use scripts/facebook_pages.py.

List available Pages:

python3 scripts/facebook_pages.py list-accounts

Publish a Page post:

python3 scripts/facebook_pages.py publish-post \
  --page-id "PAGE_ID" \
  --message "Hello from the Pages API!" \
  --link "https://www.mybrandmetrics.com"

Publish a Page photo:

python3 scripts/facebook_pages.py publish-photo \
  --page-id "PAGE_ID" \
  --url "https://example.com/image.jpg" \
  --caption "Photo from the Pages API"

Read comments:

python3 scripts/facebook_pages.py comments \
  --page-id "PAGE_ID" \
  --object-id "POST_ID" \
  --limit 25

Hide a comment:

python3 scripts/facebook_pages.py comment-update \
  --page-id "PAGE_ID" \
  --comment-id "COMMENT_ID" \
  --hide

Fetch Page insights:

python3 scripts/facebook_pages.py insights \
  --page-id "PAGE_ID" \
  --metrics "page_impressions,page_fans"

Commands

Command Purpose
connect Start the Facebook Pages OAuth connect flow.
list-connections List connected Meta accounts.
list-accounts List available Facebook Pages.
publish-post Create a Page feed post.
publish-photo Create a Page photo post from a public image URL.
publish-video Create a Page video post from a public video URL.
feed Read Page feed posts.
comments Read comments for a post or object.
comment-create Create a comment on a post or object.
comment-update Edit, hide, or unhide a comment.
comment-delete Delete a comment.
insights Read Page insight metrics.
post-insights Read post insight metrics.

Reference Files

File Purpose
references/configuration.md Credential setup, auth modes, base URL, and config examples.
references/examples.md Concrete invocation examples for each workflow.
安全使用建议
Install only if you trust MyBrandMetrics and intend to let an agent manage real Facebook Page content. Use least-privilege credentials, avoid committing tokens or IDs, verify the Page and post/comment IDs before publishing or moderating, and do not override the API base URL unless the destination is trusted.
能力标签
requires-oauth-tokenrequires-sensitive-credentials
能力评估
Purpose & Capability
Publishing posts, media, comment moderation, deletion, and insights access are high-impact but directly match the advertised Facebook Pages management purpose.
Instruction Scope
The main skill instructions require confirming the target Page, content, IDs, and visibility before any publishing or mutation; examples include mutating commands but use placeholders and stay within the stated purpose.
Install Mechanism
No hidden installer, dependency installation, background setup, or automatic activation mechanism was found in the artifacts.
Credentials
The script reads documented command-line arguments, specific environment variables, and an optional workspace config.json, then calls the documented MyBrandMetrics API; the base URL override should be used carefully.
Persistence & Privilege
No persistence, privilege escalation, credential storage, broad local indexing, or background worker behavior was found; credentials are used at runtime for API requests.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install clawbus-facebook-pages
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /clawbus-facebook-pages 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
Remove internal safety notes from the main Facebook Pages page and keep user-facing setup, workflow, features, and comparison copy.
v1.0.0
Publish the Facebook Pages skill with a clear usage guide, real workflow details, and comparison copy that explains why the MyBrandMetrics flow is simpler than building a Facebook Pages integration yourself.
元数据
Slug clawbus-facebook-pages
版本 1.0.1
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 2
常见问题

Facebook Pages 是什么?

Publish and manage Facebook Page content through a preconfigured MyBrandMetrics API connection. Use this skill to connect Facebook Pages, list connected acco... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 51 次。

如何安装 Facebook Pages?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install clawbus-facebook-pages」即可一键安装,无需额外配置。

Facebook Pages 是免费的吗?

是的,Facebook Pages 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Facebook Pages 支持哪些平台?

Facebook Pages 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Facebook Pages?

由 clawbus(@clawbus)开发并维护,当前版本 v1.0.1。

💬 留言讨论