← 返回
内容创作 Key 中文

Fb Page Publisher

Publish posts, upload photos, schedule content, read insights, and manage comments on Facebook Pages via the Graph API.
通过 Graph API 在 Facebook 公共主页发布帖子、上传照片、安排内容、查看数据分析及管理评论。
jaimin-345
内容创作 clawhub v1.0.0 1 版本 100000 Key: 需要
★ 0
Stars
📥 597
下载
💾 5
安装
1
版本
#latest

概述

Facebook Page Publisher

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

Required Environment Variables

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

create_post

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

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

upload_photo_post

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

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

schedule_post

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

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

get_page_insights

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

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

get_recent_posts

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

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

delete_post

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

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

get_post_comments

Retrieve comments on a specific post.

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

reply_to_comment

Reply to a comment on a post as the Page.

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

Example Usage

User: Post "We're hiring! Check our careers page." to my Facebook page.
Agent: I'll publish that now using create_post.

User: Schedule a post for tomorrow at 9 AM saying "Flash sale starts now!"
Agent: I'll schedule that using schedule_post with the computed datetime.

User: Show me my page insights for the past week.
Agent: I'll fetch that using get_page_insights with period="week".

Setup

  1. Set FB_PAGE_ID to your Facebook Page's numeric ID.
  2. Set FB_ACCESS_TOKEN to a non-expiring Page Access Token.
  3. Run with uv run src/server.py.

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-29 19:42 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

content-creation

AdMapix

fly0pants
广告情报与应用数据分析助手,支持搜索广告素材、分析应用排名、下载量、收入及市场洞察,用于广告素材和竞品分析。
★ 295 📥 136,405
content-creation

YouTube

byungkyu
使用托管OAuth集成YouTube Data API,支持搜索视频、管理播放列表、获取频道数据及评论互动,适用于用户需要时使用此技能。
★ 142 📥 41,017
content-creation

Baidu Wenku AIPPT

ide-rea
使用百度文库 AI 智能生成 PPT,自动根据内容选择模板。
★ 66 📥 46,131