← 返回 Skills 市场
jaimin-345

Fb Page Publisher

作者 Jaimin Suriya · GitHub ↗ · v1.0.0 · MIT-0
windowsmacoslinux ✓ 安全检测通过
306
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install fb-page-publisher
功能描述
Publish posts, upload photos, schedule content, read insights, and manage comments on Facebook Pages via the Graph API.
使用说明 (SKILL.md)

\r \r

Facebook Page Publisher\r

\r Manage your Facebook Page directly from an AI agent. Create posts, upload photos, schedule content, view analytics, and moderate comments -- all through natural language.\r \r

Required Environment Variables\r

\r

  • FB_PAGE_ID — The numeric ID of your Facebook Page\r
  • FB_ACCESS_TOKEN — A long-lived (non-expiring) Facebook Page Access Token with permissions: pages_manage_posts, pages_read_engagement, pages_manage_engagement\r \r

create_post\r

Create and immediately publish a text post to the Facebook Page.\r

  • message (string, required): The text content of the post.\r \r

upload_photo_post\r

Upload a photo to the Facebook Page with an optional caption. The photo must be a publicly accessible URL.\r

  • photo_url (string, required): A publicly accessible URL to the image file (JPEG, PNG, etc.).\r
  • caption (string, optional): Text caption for the photo post.\r \r

schedule_post\r

Schedule a text post for future publication. Time must be at least 10 minutes ahead and no more than 6 months.\r

  • message (string, required): The text content of the post.\r
  • scheduled_time (string, required): ISO 8601 datetime (e.g., "2026-03-10T09:00:00").\r \r

get_page_insights\r

Retrieve engagement metrics (impressions, reach, engagement, views) for the Facebook Page.\r

  • metric (string, optional): One of "impressions", "reach", "engagement", "views", or "all". Default: "all".\r
  • period (string, optional): Time period: "day", "week", or "days_28". Default: "day".\r \r

get_recent_posts\r

Fetch the most recent posts from the Page with engagement statistics (likes, comments, shares).\r

  • limit (integer, optional): Number of posts to retrieve (1-100). Default: 10.\r \r

delete_post\r

Delete a specific post from the Facebook Page. This action is irreversible.\r

  • post_id (string, required): The full post ID (format: pageId_postId).\r \r

get_post_comments\r

Retrieve comments on a specific post.\r

  • post_id (string, required): The full post ID (format: pageId_postId).\r
  • limit (integer, optional): Number of comments to retrieve (1-100). Default: 25.\r \r

reply_to_comment\r

Reply to a comment on a post as the Page.\r

  • comment_id (string, required): The ID of the comment to reply to.\r
  • message (string, required): The reply message text.\r \r

Example Usage\r

\r

User: Post "We're hiring! Check our careers page." to my Facebook page.\r
Agent: I'll publish that now using create_post.\r
\r
User: Schedule a post for tomorrow at 9 AM saying "Flash sale starts now!"\r
Agent: I'll schedule that using schedule_post with the computed datetime.\r
\r
User: Show me my page insights for the past week.\r
Agent: I'll fetch that using get_page_insights with period="week".\r
```\r
\r
## Setup\r
\r
1. Set `FB_PAGE_ID` to your Facebook Page's numeric ID.\r
2. Set `FB_ACCESS_TOKEN` to a non-expiring Page Access Token.\r
3. Run with `uv run src/server.py`.\r
安全使用建议
This skill appears coherent and implements only Facebook Graph API operations. Before installing: (1) ensure you trust the skill's source and inspect the code (it runs a local MCP server and sends API calls only to graph.facebook.com); (2) provide only a Page Access Token with the requested scopes and be aware it grants posting/moderation rights to the Page — keep the token secret and revoke/rotate it if needed; (3) make sure you are comfortable running the 'uv' command and have the declared Python dependencies installed in a controlled environment. If you need higher assurance, run the server in an isolated environment and monitor network traffic to confirm only Facebook endpoints are contacted.
功能分析
Type: OpenClaw Skill Name: fb-page-publisher Version: 1.0.0 The fb-page-publisher skill is a legitimate tool for managing Facebook Pages via the Graph API. It implements standard features such as posting, scheduling, and reading insights using the official Facebook API endpoint (graph.facebook.com). The code in src/fb_client.py and src/server.py is well-structured, lacks any signs of obfuscation, data exfiltration, or unauthorized execution, and strictly adheres to the functionality described in SKILL.md.
能力评估
Purpose & Capability
The name and description match the code and declared env vars. The package implements posting, photo uploads, scheduling, insights, post listing, deletion, and comment moderation via the Facebook Graph API and only asks for FB_PAGE_ID and FB_ACCESS_TOKEN which are required for that functionality.
Instruction Scope
SKILL.md instructs running the server and setting FB_PAGE_ID and FB_ACCESS_TOKEN. The runtime code only reads these env vars (and optionally .env via python-dotenv) and makes requests to graph.facebook.com. The instructions do not ask the agent to read unrelated files, system state, or to send data to third-party endpoints beyond Facebook's Graph API.
Install Mechanism
There is no install spec (the skill includes source files and expects dependencies to be installed by the user). Declared Python dependencies (mcp, httpx, python-dotenv) are appropriate for the task. No downloads from arbitrary URLs or archive extraction are present in the package.
Credentials
The skill requests only FB_PAGE_ID and FB_ACCESS_TOKEN, which are exactly what's needed. Note: the SKILL.md asks for a long-lived non-expiring Page Access Token — that is sensitive and grants control over the Page, so users should only provide tokens they trust the skill with and rotate/revoke tokens if needed.
Persistence & Privilege
always:false and no special persistence is requested. The skill runs as an MCP server and does not modify other skills or system-wide settings. It will run autonomously if the agent is allowed to invoke it (disable-model-invocation is false, which is the platform default).
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install fb-page-publisher
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /fb-page-publisher 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of fb-page-publisher. - Publish text posts, upload photos, and schedule content on Facebook Pages. - View engagement metrics and insights for your Facebook Page. - Retrieve recent posts and their engagement statistics. - Manage comments by viewing, deleting, and replying to comments. - Operate via the Facebook Graph API using environment variables for authentication.
元数据
Slug fb-page-publisher
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Fb Page Publisher 是什么?

Publish posts, upload photos, schedule content, read insights, and manage comments on Facebook Pages via the Graph API. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 306 次。

如何安装 Fb Page Publisher?

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

Fb Page Publisher 是免费的吗?

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

Fb Page Publisher 支持哪些平台?

Fb Page Publisher 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(windows, macos, linux)。

谁开发了 Fb Page Publisher?

由 Jaimin Suriya(@jaimin-345)开发并维护,当前版本 v1.0.0。

💬 留言讨论