Meta Business Postingのロゴ

Meta Business Posting

コミュニティ
AtlasOmnia
meta-business-posting

meta-business-posting — Publish posts to a Facebook Page through the agent's own logged-in browser session or the Meta Graph API. Account-agnostic; no credentials in the skill.

概要

公開者AtlasOmnia
リポジトリdonna-starter
スキル名meta-business-posting
スター
131
フォーク
9
同梱ファイル
指示のみ
ライセンスMIT
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 指示だけで完結

    モデルに必要なものはすべて指示に含まれているため、別途同期するファイルはありません。

  • オープンソース

    AtlasOmniaがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Meta Business Posting」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/AtlasOmnia/donna-starter/tree/main/skills/social-media/meta-business-posting
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/AtlasOmnia/donna-starter.git /tmp/donna-starter
mkdir -p .claude/skills
cp -r /tmp/donna-starter/skills/social-media/meta-business-posting .claude/skills/meta-business-posting
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでMeta Business Postingを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にMeta Business Postingを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Meta Business Postingは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

Meta / Facebook Page Posting

Publish posts to a Facebook Page using the user's own account. Two paths: the browser session (primary — works for everyone) and the Graph API (power users with a Meta app).

Hard rules

  • Never ask the user to paste a Facebook password, 2FA code, or token into chat. The user logs in through the browser themselves; tokens live in .env.
  • Posting is an irreversible publish action. Draft the full post (text, link, image), show the user exactly what will be published and to which Page, and get explicit approval before submitting.
  • Post as the Page, not as the user's personal profile, unless the user explicitly says otherwise.
  • Never delete or edit a published post without explicit approval.
  • Respect platform policies: no engagement bait, spam, or misleading claims; no posting to Pages the user does not administer.
  • If a login, 2FA, or app-review wall appears, stop and hand it to the user — never work around security checkpoints.

Path 1 — Browser session (recommended)

Facebook's business surfaces are heavily JS-gated; the Hermes browser tools handle them naturally.

  1. User logs in once: navigate to facebook.com (or business.facebook.com) in the Hermes browser and have the user complete login and any 2FA themselves. The agent never sees credentials.
  2. Locate the composer: navigate to the Page (e.g. facebook.com/<page> → Create post, or Meta Business Suite → Content → Create post).
  3. Draft: compose text, optionally attach an image via the page's file input (Hermes browser set_input_files / upload control). Do not publish yet.
  4. Confirm identity: check the "Posting as" selector shows the intended Page, not the personal profile.
  5. Get approval: show the user the drafted post and the target Page; publish only on explicit approval.
  6. Publish and verify: click Publish (or have the user click it), then verify the post appears in the Page's feed and capture its permalink for the user.

Browser sessions do not persist across restarts — the user may need to log in again.

Path 2 — Graph API (power users)

Requirements (user-side setup, one-time):

  • A Meta app in the developer console with the pages_manage_posts permission.
  • A long-lived Page access token (60 days) for the target Page.
  • Note: production Page posting typically requires Meta app review; if the app is in Development mode, only admin/test users can post. If review is not feasible, use Path 1.

Environment variables (profile .env):

META_PAGE_ID=...
META_PAGE_TOKEN=...

Publishing:

bash
# Text/link post
curl -s -X POST "https://graph.facebook.com/v21.0/$META_PAGE_ID/feed" \
 -H "Authorization: Bearer $META_PAGE_TOKEN" \
 -d "message=<URL-encoded text>" \
 -d "link=<URL-encoded URL>"

# Photo post (upload then attach)
curl -s -X POST "https://graph.facebook.com/v21.0/$META_PAGE_ID/photos" \
 -H "Authorization: Bearer $META_PAGE_TOKEN" \
 -F "url=<public image URL or local file>" \
 -F "message=<URL-encoded text>"

The response returns an id (e.g. <page-id>_<post-id>). Verify:

bash
curl -s -H "Authorization: Bearer $META_PAGE_TOKEN" "https://graph.facebook.com/v21.0/$POST_ID?fields=permalink_url,created_time,message"

Report the permalink_url to the user. If the response contains error (e.g. (#200) Missing permissions, (#190) token expired), report the exact error and stop — do not retry endlessly.

Workflow summary

  1. Confirm the target Page and that the user administers it.
  2. Draft the post (text, link, image) and show the user.
  3. Get explicit approval: exact text, media, Page, schedule (now vs later).
  4. Publish via browser (default) or Graph API.
  5. Verify the live post and report its permalink.

Pitfalls

  • Facebook blocks automation aggressively on the login surface; if a checkpoint appears (2FA, "confirm it's you"), hand it to the user.
  • The personal profile composer is different from the Page composer — use the Page or Business Suite surface.
  • Images must be attached through the upload control; pasting a URL into the text box does not attach media.
  • A post that succeeds via API but is immediately hidden is likely flagged — report the permalink and visibility honestly.
  • Tokens expire (60 days for long-lived page tokens) — refresh through the user's setup flow, never by scraping.

よくある質問

AIスキル「Meta Business Posting」では何ができますか?

meta-business-posting — Publish posts to a Facebook Page through the agent's own logged-in browser session or the Meta Graph API. Account-agnostic; no credentials in the skill.

TypingMindでMeta Business Postingを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Meta Business Postingはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにMeta Business Postingをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/AtlasOmnia/donna-starter/tree/main/skills/social-media/meta-business-postingを貼り付けてください。TypingMindがSKILL.mdを読み込み、チャットごとに有効にできるスキルとしてインストールします。

Meta Business Postingを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Meta Business Postingで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもMeta Business Postingを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Meta Business Posting」は無料ですか?

はい。AtlasOmniaがMITライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇