跳到正文
TakoAPI
返回技能列表

meta-business

由 adolago 提供

Web & Frontend Development
491下载量由 clawskills.sh 提供
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Skill for the Meta Business CLI.

描述

该技能的功能

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.

何时使用

  • 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

示例工作流

输入

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

智能体
  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

输出

PDF delivered to +1234567890 via WhatsApp with message ID confirmed

前置要求

  • 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

安装

clawhub install adolago/meta-business

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接