Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

meta-business

bởi adolago

Web & Frontend Development
491Lượt tải do clawskills.sh công bố
0Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

Skill for the Meta Business CLI.

Mô tả

Kỹ năng này làm gì

CLI tool for automating WhatsApp, Instagram, Facebook Pages, and Messenger via the Meta Graph API. Handles message sending, media uploads, template management, analytics, and inbound webhook listening. All commands support structured JSON output for scripting.

Covers all four Meta surfaces in one CLI with non-interactive flags and JSON output, removing the need for a separate SDK, browser session, or surface-specific tooling.

Khi nào nên dùng

  • Send WhatsApp alerts from a CI/CD pipeline
  • Publish Instagram posts and Reels without opening a browser
  • Post Facebook Page updates from a cron job
  • Forward inbound WhatsApp messages to an external webhook handler
  • Pull 30-day messaging analytics for a WhatsApp Business account

Quy trình ví dụ

ĐẦU VÀO

User asks: send the Q4 report PDF to +1234567890 on WhatsApp

AGENT
  1. 1

    Run meta auth status to confirm the token is valid

  2. 2

    Run meta wa send "+1234567890" --document ./q4-report.pdf --caption "Q4 Report" --json

  3. 3

    Parse the JSON response to extract the message ID (wamid)

  4. 4

    Run meta wa read WAMID --json to mark the message as read

ĐẦU RA

PDF delivered to +1234567890 via WhatsApp with message ID confirmed

Yêu cầu

  • Meta Developer account with a registered app at developers.facebook.com (provides App ID and App Secret)
  • WhatsApp Business Account with a configured phone number ID and WABA ID (for WhatsApp features)
  • Instagram Business or Creator account linked to a Facebook Page (for Instagram features)
  • Access token with the required Graph API scopes, obtained via OAuth or a System User token

Cài đặt

clawhub install adolago/meta-business

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết