تخطَّ إلى المحتوى
TakoAPI
العودة إلى المهارات

facebook

بواسطة codedao12

Security & Passwords
3.1kالتنزيلات وفق ما يذكره clawskills.sh
5النجوم
0المشاهدات
لا إعجاباتسجّل الدخول للإعجاب بهذه المهارة
—لم يُقيَّم بعد
تقييمك

موجز

OpenClaw skill for Facebook Graph API workflows focused on Pages posting,.

الوصف

ما الذي تفعله هذه المهارة

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.

متى تستخدمها

  • 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

مثال على سير العمل

الإدخال

User asks: post a message to my Facebook Page and hide any spam comments

الوكيل
  1. 1

    Exchange user token for a Page access token using the App ID and Secret

  2. 2

    POST to /v19.0/{page-id}/feed with the message payload

  3. 3

    Subscribe to the Page's comment webhook to receive new comment events

  4. 4

    On webhook trigger, evaluate comment content for spam signals

  5. 5

    Send 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

المتطلبات

  • Facebook Developer account
  • Facebook App with App ID and App Secret
  • Target Facebook Page with admin access
  • Permissions approved via Facebook App Review (e.g. pages_manage_posts, pages_read_engagement)
  • Page access token obtained through the Graph API token flow

التثبيت

clawhub install codedao12/facebook

شغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.

الروابط