Facebook Automation
它能做什么
这个工具可以帮你自动管理 Facebook 主页。你可以创建和定时发布帖子、上传视频、回复消息,还能查看主页的运营数据。
适用场景
- ✓当你想一周内定时发布多条帖子时。
- ✓当你收到大量消息,需要逐一回复时。
- ✓当你想发布一个视频,并设定它在指定时间出现时。
技能链接
https://github.com/ComposioHQ/awesome-claude-skills/blob/master/composio-skills/facebook-automation/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“帮我为我的主页“页面名称”定时发布一条内容为“大家好!”的帖子,时间设为明天上午 10 点。”
每周 5 个新技能,1 分钟读完。
工作原理
首先,你需要连接你的 Facebook 账号。然后,工具会使用特定的命令来完成创建帖子、上传视频或读取消息等任务。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Facebook Automation
Automate Facebook Page operations -- create and schedule posts, upload videos, manage Messenger conversations, retrieve page insights, and handle scheduled content -- all orchestrated through the Composio MCP integration.
Toolkit docs: composio.dev/toolkits/facebook
Setup
- Connect your Facebook account through the Composio MCP server at
https://rube.app/mcp - The agent will prompt you with an authentication link if no active connection exists
- Once connected, all
FACEBOOK_*tools become available for execution - Note: This toolkit supports Facebook Pages only, not personal Facebook accounts
Core Workflows
1. Discover Managed Pages
List all Facebook Pages you manage to get page IDs and access tokens for subsequent operations.
Tool: FACEBOOK_LIST_MANAGED_PAGES
| Parameter | Type | Required | Description |
|---|---|---|---|
fields |
string | No | Comma-separated fields (default: id,name,access_token,category,tasks,about,link,picture) |
limit |
integer | No | Max pages per request (default: 25) |
user_id |
string | No | User ID (default: me) |
Always run this first to cache page_id values. Avoid repeating discovery calls -- cache the results.
2. Create & Schedule Posts
Publish or schedule text posts with optional links on a Facebook Page.
Tool: FACEBOOK_CREATE_POST
| Parameter | Type | Required | Description |
|---|---|---|---|
page_id |
string | Yes | Numeric Page ID from managed pages |
message |
string | Yes | Text content of the post |
published |
boolean | No | true to publish immediately, false for draft/scheduled (default: true) |
scheduled_publish_time |
integer | No | Unix UTC timestamp; must be at least 10 minutes in the future |
link |
string | No | URL to include in the post |
targeting |
object | No | Audience targeting specifications |
When scheduling: Set published=false and provide scheduled_publish_time as a Unix UTC timestamp.
3. Create & Schedule Video Posts
Upload and schedule video content on a Facebook Page.
Tool: FACEBOOK_CREATE_VIDEO_POST
| Parameter | Type | Required | Description |
|---|---|---|---|
page_id |
string | Yes | Numeric Page ID |
file_url |
string | Conditional | URL of the video file (provide file_url or video) |
video |
object | Conditional | Local file upload with name, mimetype, s3key |
title |
string | No | Video title |
description |
string | No | Video description |
published |
boolean | No | Publish immediately (default: true) |
scheduled_publish_time |
integer | No | Unix timestamp for scheduled publishing |
4. Manage Scheduled Posts
Review, reschedule, update, or publish scheduled content.
Tools:
FACEBOOK_GET_SCHEDULED_POSTS-- List scheduled/unpublished posts for a pagepage_id(required),fields,limit(max 100)
FACEBOOK_RESCHEDULE_POST-- Change the scheduled publish timeFACEBOOK_UPDATE_POST-- Edit caption/text on an existing postFACEBOOK_PUBLISH_SCHEDULED_POST-- Publish a scheduled post immediately
5. Read Page Messenger Conversations
Retrieve inbox conversations and message threads between users and your Page.
Tool: FACEBOOK_GET_PAGE_CONVERSATIONS
| Parameter | Type | Required | Description |
|---|---|---|---|
page_id |
string | Yes | The Facebook Page ID |
fields |
string | No | Fields to return (default: participants,updated_time,id) |
limit |
integer | No | Conversations to return, max 25 |
Then retrieve full message threads:
Tool: FACEBOOK_GET_CONVERSATION_MESSAGES
| Parameter | Type | Required | Description |
|---|---|---|---|
page_id |
string | Yes | Page ID that owns the conversation |
conversation_id |
string | Yes | Conversation ID in t_ format (e.g., t_3638640842939952) |
fields |
string | No | Default: id,created_time,from,to,message |
limit |
integer | No | Messages to return, max 25 |
6. Send Messages & Mark as Seen
Respond to users via Messenger and mark messages as read.
Tools:
FACEBOOK_SEND_MESSAGE-- Send a text message from the Page to a user via Messenger
…
常见问题
我需要连接自己的个人 Facebook 账号吗?
不需要,这个工具只支持 Facebook 主页,不支持个人主页。
我可以把帖子定时到任意时间吗?
可以,但定时时间必须至少在 10 分钟之后,并且使用协调世界时(UTC)。
我怎么回复消息?
你可以先用工具读取对话内容,再用另一个命令发送回复或将消息标记为已读。
详情
作者的原始描述
Automate Facebook Page management including post creation, scheduling, video uploads, Messenger conversations, and audience engagement via Composio
热度
- GitHub 星标
- 77k
- 排名
- #2038
- 许可证
- —
- 更新时间
- 2026/9/18
评论
- …
同一仓库的更多技能
artifacts-builder
77k帮助你的智能体构建复杂的用户界面。它借助现代技术,创建功能丰富的交互式网页。
brand-guidelines
77k帮助你的智能体把官方品牌色和字体应用到各类材料中。适合需要体现公司视觉形象的场景,保持视觉统一。
canvas-design
77k让你的智能体创作 .png 和 .pdf 格式的原创视觉作品。当用户需要海报、艺术作品或其他静态设计时使用。
changelog-generator
77k帮助你的智能体根据代码提交记录撰写面向用户的更新说明。它能把技术内容转换成通俗易懂的文字。