Facebook Graph API Skill (Advanced)
Purpose
Provide a production-oriented guide for building Facebook Graph API workflows for Pages: publishing posts, managing comments, and operating Page content safely using direct HTTPS calls.
Best fit
- - You need Page posting and comment workflows.
- You want a professional command design and safe operational guidance.
- You prefer direct HTTP requests rather than SDKs.
Not a fit
- - You need advanced ads or marketing APIs.
- You must use complex browser-based OAuth flows.
Quick orientation
- - Read
references/graph-api-overview.md for base URLs, versions, and request patterns. - Read
references/page-posting.md for Page publishing workflows and fields. - Read
references/comments-moderation.md for comment actions and moderation flows. - Read
references/permissions-and-tokens.md for access types and scope guidance. - Read
references/webhooks.md for subscriptions and verification steps. - Read
references/http-request-templates.md for concrete HTTP request payloads.
Required inputs
- - Facebook App ID and App Secret.
- Target Page ID(s).
- Token strategy: user token → Page access token.
- Required permissions and review status.
Expected output
- - A clear Page workflow plan, permissions checklist, and operational guardrails.
Operational notes
- - Use least-privilege permissions.
- Handle rate limits and retries.
- Log minimal identifiers only.
Security notes
- - Never log tokens or app secrets.
- Validate webhook signatures.
Facebook Graph API 技能(高级)
目的
提供面向生产的指南,用于构建 Facebook Graph API 页面工作流:使用直接 HTTPS 调用安全地发布帖子、管理评论以及操作页面内容。
最佳适用场景
- - 您需要页面发布和评论管理工作流。
- 您需要专业的命令设计和安全操作指导。
- 您更倾向于直接使用 HTTP 请求而非 SDK。
不适用场景
- - 您需要高级广告或营销 API。
- 您必须使用复杂的基于浏览器的 OAuth 流程。
快速入门
- - 阅读 references/graph-api-overview.md 了解基础 URL、版本和请求模式。
- 阅读 references/page-posting.md 了解页面发布工作流和字段。
- 阅读 references/comments-moderation.md 了解评论操作和审核流程。
- 阅读 references/permissions-and-tokens.md 了解访问类型和范围指南。
- 阅读 references/webhooks.md 了解订阅和验证步骤。
- 阅读 references/http-request-templates.md 了解具体的 HTTP 请求负载。
必需输入
- - Facebook 应用 ID 和应用密钥。
- 目标页面 ID。
- 令牌策略:用户令牌 → 页面访问令牌。
- 所需权限和审核状态。
预期输出
- - 清晰的页面工作流计划、权限检查清单和操作护栏。
操作说明
- - 使用最小权限原则。
- 处理速率限制和重试机制。
- 仅记录最小必要标识符。
安全说明
- - 切勿记录令牌或应用密钥。
- 验证 Webhook 签名。