Pluggzyドキュメント

Messenger

受信トレイメッセージリクエストページ
受信トレイメッセージリクエストページ

Messengerは、Facebookのログインを別の名前で表示したものです。どのAIアプリからでも、チャット、メッセージリクエスト、ページの会話を読んで返信でき、操作は10~20秒の間隔を空けて行われます。ほかのすべてのチャンネルと同じ会話用ツールを使います。

Messengerを接続
接続方法
ブラウザでメールアドレスとパスワード
ツール
10
1日3投稿(公開または予約)
10~20秒操作の間隔(ランダム)
10,000テキストの文字数
1日50メッセージと返信

上限

接続済みのMessengerアカウントごとの上限で、そのアカウントを使うすべてのAIアプリとAPIキーで共有されます。 どのサービスでも同じツールが使え、各アカウントにはそれぞれの上限があります。

操作1日あたり1分あたり最小間隔ペースツール
読み取り受信トレイ、招待、投稿一覧3,00030——list_chatsget_messagesget_attachmentlist_group_membersfacebook_list_pages
受信トレイの更新既読、リアクション500101秒—mark_readreact
メッセージ50215秒10~20秒send_messageaccept_message_request
新しい会話1011分10~20秒start_chat
読み取り3,000/日
受信トレイ、招待、投稿一覧
30/分 · ペース調整なし
list_chatsget_messagesget_attachmentlist_group_membersfacebook_list_pages
受信トレイの更新500/日
既読、リアクション
10/分 · 最小間隔1秒
mark_readreact
メッセージ50/日
2/分 · 最小間隔15秒 · 10~20秒の間隔
send_messageaccept_message_request
新しい会話10/日
1/分 · 最小間隔1分 · 10~20秒の間隔
start_chat
  • メッセージに添付できるファイル:1メッセージにつき画像1つ(JPEG、PNG、WebP、最大8MB)またはドキュメント1つ(PDF、Word、Excel、PowerPoint、TXT、CSV、最大15MB)。AIは送られてきた画像(最大3.75MB)を確認でき、PDF、Word、Excel、TXT、CSVのファイル(最大15MB)をテキストとして読み取れます。
  • 1日の上限はUTCの00:00に、1週間の上限は月曜日のUTC 00:00にリセットされます。

投稿ルール

Messengerが受け付ける内容です。送信前にチェックするため、問題のある投稿で何かを失うことはありません。

テキスト必須textに最大10,000文字。
メディア任意: 画像1枚(image_urls)または動画1本(video_url、最大500MB、1秒~240分)のどちらか一方を指定します。端末上のファイルは、先にupload_mediaでアップロードします。
visibilityLinkedIn: anyone (default) or relations_only (connections). Facebook: anyone (default: everyone) or relations_only (friends; not as a Page). YouTube: public (default), private or unlistedanyonerelations_onlypublicprivateunlisted
as_pageFacebook: publish as this Page (page_id from facebook_list_pages) instead of the personal account
share_post_idFacebook: post_id of a post to share (text optional, no image; not schedulable)

安全のための上限

Messengerアカウントを健全な状態に保つための仕組みです。このアカウントのすべてのAIアプリとAPIキーに適用され、オフにすることはできません。

人間らしいペース10~20秒
すべてのアプリとキーをまたいで、プロフィール閲覧、検索、メッセージ、新しい会話、招待、投稿の間にランダムな間隔を空けます。
アカウント全体の上限10 / 分
各操作ごとの1分あたりの上限に加えて、アカウントごとに読み取りを除き合計で1分あたり最大10回の呼び出しに制限します。
制限時のクールダウン5分
レート制限の応答を受けると、アカウントは最低5分、Messenger自体から求められた場合は30分休止します。その間の呼び出しには、残り時間が返されます。
キャッシュされた読み取りは無料1時間
会話とプロフィールはキャッシュされ、上限を消費しません。fresh: trueを指定すると、最新の状態を読み取ります。
新しい会話10 / 日
アカウントが制限される原因は、面識のない相手とのチャットです。そのため、新しい会話の開始は少なく抑えています。既存のチャットでの返信には影響しません。
友達リクエストとフォロー15 / 日
少なめに抑えています(1週間に最大60件)。Facebookは大量に送るアカウントをブロックします。

上限に達したとき

知らないうちにキューに入れたり再試行したりすることはありません。ツールは、AIアプリが読んで説明し、適切なタイミングで再試行できるエラーを返します。

gap前回の操作から間もなすぎます。retry_after_secondsだけ待ってください。
limit1日または1週間の上限に達しました。リセットされる時刻も返されます。
cooldownMessengerから制限がかかり、アカウントは休止中です。
permissionこのアプリには、その操作が許可されていません。再接続して許可してください。
拒否の例
isError
{
  "error": "Facebook actions are spaced 10–20 s apart, at random, to look human. Wait 10s.",
  "code": "gap",
  "retry_after_seconds": 10
}

ツール

MessengerはFacebookのチャットツールを使います。ログインも上限も同じです。

ツール10個 · 読み取り5 · 書き込み5
受信トレイ10

Reply in an existing conversation (chat_id from list_chats), on any network: 1-to-1, group, or a Facebook Page's chat (answered as the Page). Plain text. Show the user the exact text (and which file) before calling this. One file can go with the text: image_url (an https link to an image), file_url (an https link to a document) or media_id (from upload_media, for an image or a document the user has on their device or attached in the chat). Documents: PDF, Word, Excel, PowerPoint (docx, xlsx, pptx, doc, xls, ppt), TXT or CSV, at most 15 MB; WhatsApp, Telegram, LinkedIn and Facebook Messenger take PDF, Word, Excel, PowerPoint, TXT and CSV files; Instagram takes PDFs only; Instagram Business takes PDFs only and Facebook Pages any of them. Instagram Business allow replies within 24 hours of the person's last message (Instagram: at most 1000 characters, JPEG or PNG); up to 7 days after it, only a reply the user wrote or approved word for word, with user_written: true (never for text you wrote on your own).

権限 Send messages & posts上限 メッセージ · 50/日ペース調整あり 10~20秒先にユーザーに確認
入力パラメーター7個 · 必須2個
accountstring
account_id from list_accounts (a listed chat's account_id). Needed only when several accounts are connected.
chat_idstring必須
textstring必須
最大8,000文字
image_urlstring
https link to a JPEG, PNG or WebP image (at most 8 MB) that is already online. Optional. For an image the user attached in the chat or has on their device, use media_id instead.
https://
file_urlstring
https link to a document that is already online (PDF, Word, Excel, PowerPoint (docx, xlsx, pptx, doc, xls, ppt), TXT or CSV, at most 15 MB). Optional. For a file the user has on their device or attached in the chat, use media_id instead.
https://
media_idstring
An image or a document the user uploaded: call upload_media, then pass its media_id here once the file is uploaded (the user says so, or your own upload_command answered ok).
user_writtenboolean
Instagram Business: true only when the user typed this exact text or approved it word for word: lets the reply go out up to 7 days after the person's last message instead of 24 hours
初期値 false
出力structuredContent
{
  "structuredContent": {
    "chat_id": "gq5Xp3bZUXCt6Zt1Z2rTsA",
    "message_id": "7mKQx2VdTnW8bLr4Yc9ey7",
    "sent": true
  },
  "content": [
    {
      "type": "text",
      "text": "Message sent."
    }
  ]
}
ゲートの処理内容例09:41:02 → 09:41:14
  1. 受信09:41:02
  2. 上限内本日50件中14件
  3. 間隔を調整+12 s
  4. 送信済み09:41:14
本日のメッセージ:50件中14件を使用 · 00:00 UTCにリセット
テキストの冒頭 “Message sent.” · 拒否される場合のエラーgaplimitcooldownpermission
すべての受信トレイ系チャンネルで同じツールlist_chats、get_messages、send_message、start_chat、mark_readは、Messengerでもほかのすべての受信トレイ系チャンネルでも同じように動作します。各アカウントにはそれぞれの上限があります。
会話用ツール
pluggzy.com/api/docsから生成 · 47個のツールわかりにくい点がありますか? サポートに問い合わせる · ステータス