Facebook Graph API Skill (Secure)
/install facebook-secure
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.mdfor base URLs, versions, and request patterns. - Read
references/page-posting.mdfor Page publishing workflows and fields. - Read
references/comments-moderation.mdfor comment actions and moderation flows. - Read
references/permissions-and-tokens.mdfor access types and scope guidance. - Read
references/webhooks.mdfor subscriptions and verification steps. - Read
references/http-request-templates.mdfor 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.
Credentials & Secret Management
This skill requires the following environment variables to be set:
FB_APP_ID– Your Facebook App ID.FB_APP_SECRET– Your Facebook App Secret (highly sensitive).FB_PAGE_ID– The target Facebook Page ID.FB_ACCESS_TOKEN– A Page access token with sufficient permissions.
Best practices:
- Store secrets in a secure vault or environment manager; do not hardcode.
- Use different tokens for development and production.
- Rotate tokens periodically and after any suspected compromise.
- Restrict App Secret access to minimal personnel.
Incident Response
If a token or secret is suspected to be leaked:
- Immediately revoke the token in the Facebook Developer Dashboard.
- Generate a new Page access token.
- Rotate the App Secret if necessary.
- Review logs for unauthorized usage.
Authentication
All Graph API calls must include a valid access token either as a query parameter access_token or in the Authorization: Bearer \x3Ctoken> header. See references/http-request-templates.md for examples.
Additional References
references/security-and-secrets.md– Detailed security guidelines.references/permissions-and-tokens.mdnow includes environment variable requirements.references/http-request-templates.mdincludes authentication patterns.
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install facebook-secure - After installation, invoke the skill by name or use
/facebook-secure - Provide required inputs per the skill's parameter spec and get structured output
What is Facebook Graph API Skill (Secure)?
OpenClaw skill for Facebook Graph API workflows focused on Pages posting, comments, and Page management using direct HTTPS requests. It is an AI Agent Skill for Claude Code / OpenClaw, with 170 downloads so far.
How do I install Facebook Graph API Skill (Secure)?
Run "/install facebook-secure" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Facebook Graph API Skill (Secure) free?
Yes, Facebook Graph API Skill (Secure) is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Facebook Graph API Skill (Secure) support?
Facebook Graph API Skill (Secure) is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Facebook Graph API Skill (Secure)?
It is built and maintained by kevinkom-byte (@kevinkom-byte); the current version is v1.0.2.