当前位置: 首页 > Skill >

Facebook Pages

Facebook Pages

1.0.1 2026.11.24 浏览:235
获取Skill文件查看使用说明
作者:周舟许可证:
本文目录展开

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.

推荐文章

更多
PHP时间戳与日期字符串相互转换方法详解

本文介绍PHP中时间数值(Unix时间戳)与日期字符串之间的相互转换方法。通过strtotime和date函数,实现将当前时间、指定日期转换为时间戳,以及将时间戳格式化为可读的日期时间字符串,并提供相关在线计算工具推荐。

2025.11.30 1,039
PHP日期转时间戳时区偏差怎么解决

在 PHP 中将日期字符串转换为时间戳时,若未显式指定时区,默认使用脚本配置的 date.timezone 或系统时区。当服务器时区与业务逻辑预期(如 UTC )不一致时,会产生偏差。解决核心是确保输入字符串携带明确时区信息,或在转换前统一设置时区上下文。

2026.10.24 1,033
JavaScript中利用replace结合正则实现replaceAll效果

JavaScript原生仅支持replace()进行单次或全局替换,缺乏类似Java的replaceAll()便捷方法。本文总结四种在JS中实现全量替换的方案:使用带g标志的正则、带gm标志的正则、扩展String原型以及split后join。通过对比代码示例,展示各方法的实现细节与适用场景,帮助开发者根据需求选择最优解。

2025.04.29 1,021
PHP跨域配置:怎么安全地允许指定域名而非使用通配符

在 PHP 中安全地允许指定域名跨域,核心是解析请求头中的 Origin ,验证其是否在白名单内,然后动态设置 Access-Control-Allow-Origin 响应头。不要使用通配符 * ,也不要硬编码单一域名。

2025.03.29 1,021
PHP实现基础文件上传:HTML表单与$_FILES处理流程

在 HTML 表单中设置 enctype="multipart/form-data" ,并在 PHP 后端通过 $_FILES 数组接收文件,调用 move_uploaded_file() 将临时文件移动到目标目录即可完成上传。

2026.09.07 1,019
OpenAI的Jalapeno芯片未落地,教你分辨300兆瓦算力消息

OpenAI计划在SB Energy租赁的数据中心部署约300兆瓦自研Jalapeno推理芯片,但目前双方仍处于洽谈阶段,交易细节与上线时间表均未公布。本文带你按报道原文核实项目所处阶段,厘清芯片发布、电力功率与实际推理算力的边界,并将融资意向与签约、开工、投运节点分开追踪,避免误将规划容量计入现有算力。

2026.12.02 1,016
Skill 文件
  • SKILL.md
    • Facebook Pages
    • Why This Facebook Pages Skill
    • Core Capabilities
    • Setup Flow
    • Credentials
    • Workflow
    • Use The Script Directly
    • Commands
    • Reference Files
  • 项目或源文件

相关 Skill

更多
Posthive Posthive Schedule social media posts to 13 platforms (Bluesky, Threads, Instagram, LinkedIn, Mastodon, YouTube, Facebook Pages, Pinterest, Telegram, X/Twitter, Nostr)...
Google Workspace Google Workspace Manage Google Calendar, Google Drive, and Google Sheets through MyBrandMetrics-connected Google data sources and the local Google Workspace CLI. Use it to li...
SocialClaw - Social Claw is a social media scheduling skill for AI agents posting to X, LinkedIn, Instagram, Facebook Pages, TikTok, Discord, Telegram, YouTube, Reddit, WordPress, and Pinterest SocialClaw - Social Claw is a social media scheduling skill for AI agents posting to X, LinkedIn, Instagram, Facebook Pages, TikTok, Discord, Telegram, YouTube, Reddit, WordPress, and Pinterest 用于当用户想在 X、LinkedIn、Instagram、Facebook 页面、TikTok、Discord、Telegram、YouTube、Red... 等平台为 AI 代理安排和发布社交媒体内容。
service-qa-coach service-qa-coach Review support quality for chat, email, phone, social DM, or marketplace service teams. Use when a team needs a QA scorecard, failure-mode analysis, coaching plan, calibration checklist, or service-improvement brief without live ticketing, CRM, or contact-center system access.
高中数学作业批改助手 高中数学作业批改助手 >图片识别 直接读取学生手写作答照片,识别公式、符号、步骤 🧮 自动推导 根据题目自动生成参考答案和评分细则,无需教师预设 📊 逐步给分 每个关键步骤独立评分,体现过程分 📝 结构化报告 输出含识别内容、参考答案、逐步评分、改进建议的完整报告 🗂 批量批改 支持一次性批改多道题,最终汇总得分表