ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified social Safety 3/5

facebook-page

Manage Facebook Pages via Meta Graph API. Post content (text, photos, links), list posts, manage comments (list/reply/hide/delete). Use when user wants to publish to Facebook Page, check Page posts, or handle comments.

Why use this skill?

Automate your Facebook Page management with OpenClaw. Post content, monitor engagement, and handle comments directly via CLI with our powerful Meta Graph API integration.

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/longmaba/facebook-page-manager
Or

What This Skill Does

The facebook-page skill is a powerful automation tool designed to bridge the gap between your local terminal or AI agent and the Meta Graph API. It provides a structured command-line interface to manage your Facebook Page presence without needing to log into the Facebook Business Suite manually. By leveraging long-lived tokens, the skill allows for seamless content publishing, performance monitoring, and active community management through reply, hide, and delete functionalities. It simplifies complex API interactions into human-readable commands, making it ideal for social media managers, community moderators, and developers.

Installation

To begin, ensure you have your Meta Developer App configured with the necessary permissions (pages_show_list, pages_read_engagement, pages_manage_posts, and pages_manage_engagement). First, navigate to the skills directory and initialize your environment variables by copying the template: cd skills/facebook-page && cp .env.example .env. Input your App ID and Secret into the .env file. Next, execute the installation script via cd scripts && npm install. Run the authentication flow using node auth.js login, which will guide you through the OAuth process to acquire the necessary long-lived access tokens. The resulting tokens are stored securely in ~/.config/fbpage/tokens.json to enable persistent, automated management of your pages.

Use Cases

This skill is perfect for scheduling automated status updates, syndicating content from other platforms to your page, and maintaining active engagement with your audience. Use it to programmatically filter and respond to comments, or to perform bulk moderation by hiding or deleting spam. It is especially useful for teams that prefer managing their social presence through automation rather than traditional web interfaces.

Example Prompts

  1. "Check the most recent 5 posts on my tech community page and tell me if there are any new comments I should reply to."
  2. "Post a new update to my Facebook Page with the text 'Check out our new project!' and attach the image located at /home/user/images/launch.jpg."
  3. "Find the comment with ID 123456 on my latest post and reply with 'Thank you for your feedback!'"

Tips & Limitations

Always ensure your Meta App is in 'Live' mode if you wish to manage pages outside of your developer test accounts. Remember that this skill requires direct network access to the Meta Graph API. Avoid hardcoding tokens or credentials into scripts; the provided auth.js helper is the secure method for token management. Note that rate limits imposed by the Facebook Graph API apply; exceeding these may result in temporary blocks on your app, so avoid high-frequency automated polling or excessive API calls.

Metadata

Author@longmaba
Stars1601
Views3
Updated2026-02-27
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build — we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-longmaba-facebook-page-manager": {
      "enabled": true,
      "auto_update": true
    }
  }
}

Tags(AI)

#facebook#social-media#meta#automation#api
Safety Score: 3/5

Flags: network-access, file-write, file-read, external-api