Setup & Installation
Or with the ClawHub CLI, for registry-managed skill folders outside a full OpenClaw workspace:
Version History
Version 1.0.1 - Expanded documentation with six new reference files covering Graph API overview, Page posting, comments moderation, permissions/tokens, webhooks, and HTTP request examples. - Updated guidance to focus on direct HTTPS requests for Facebook Pages: posting, comment management, and Page operations. - Clarified required inputs (App ID/Secret, Page ID, token strategy). - Added detailed security and operational guardrails. - Clearly defined recommended use cases and limitations.
What This Skill Does
Handles Facebook Graph API workflows for Pages: publishing posts, managing comments, and moderating Page content via direct HTTPS requests. Covers token management, permissions, webhooks, and rate limit handling. Designed for production use without relying on SDKs.
Using direct HTTP requests instead of SDKs gives full control over request payloads, versioning, and retry logic without SDK abstraction overhead.
When to use it
- Publishing scheduled posts to a Facebook Page
- Moderating and replying to comments on Page content
- Setting up webhooks to receive real-time Page activity
- Rotating and managing Page access tokens safely
- Auditing permissions before submitting for App Review
Example Workflow
Here's how your AI assistant might use this skill in practice.
User asks: post a message to my Facebook Page and hide any spam comments
- 1Exchange user token for a Page access token using the App ID and Secret
- 2POST to /v19.0/{page-id}/feed with the message payload
- 3Subscribe to the Page's comment webhook to receive new comment events
- 4On webhook trigger, evaluate comment content for spam signals
- 5Send a POST to /v19.0/{comment-id} with is_hidden=true for flagged comments
Post published to the Page and spam comments hidden automatically via webhook-driven moderation
Requirements
Accounts, API keys, or tools you or your AI assistant may need to set up while using this skill.