Messenger
Messenger is je Facebook-login onder een eigen naam: lees en beantwoord je chats, berichtverzoeken en paginagesprekken vanuit elke AI-app, met 10–20 seconden ertussen. Het gebruikt dezelfde gesprekstools als elk kanaal.
Limieten
Per verbonden Messenger-account, gedeeld door elke AI-app en API-sleutel die het gebruikt. Dezelfde tools werken op elk netwerk: elk account houdt zijn eigen limieten.
- Bestanden in berichten: één afbeelding (JPEG, PNG of WebP, tot 8 MB) of één document (PDF, Word, Excel, PowerPoint, TXT of CSV, tot 15 MB) per bericht. Je AI ziet afbeeldingen die mensen sturen (tot 3.75 MB) en leest PDF-, Word-, Excel-, TXT- en CSV-bestanden als tekst (tot 15 MB).
- Daglimieten worden om 00:00 UTC gereset, weeklimieten op maandag om 00:00 UTC.
Postregels
Wat Messenger accepteert, gecontroleerd voordat er iets wordt verstuurd, zodat een foute post niets kost.
text.image_urls) of één video (video_url; maximaal 500 MB, 1 seconde tot 240 minuten), niet allebei. Bestanden op je apparaat gaan eerst via 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_onlypublicprivateunlistedas_pageFacebook: publish as this Page (page_id from facebook_list_pages) instead of the personal accountshare_post_idFacebook: post_id of a post to share (text optional, no image; not schedulable)Veiligheidslimieten
Wat je Messenger-account in goede staat houdt. Ze gelden voor elke AI-app en API-sleutel op dit account, en je kunt ze niet uitzetten.
fresh: true dwingt een live leesactie af.Als een limiet is bereikt
Er wordt niets achter je rug om in de wachtrij gezet of opnieuw geprobeerd: de tool antwoordt met een fout die je AI-app kan lezen, uitleggen en op het juiste moment opnieuw kan proberen.
gapTe snel na de vorige actie. Wacht retry_after_seconds.limitDe dag- of weeklimiet is op. Vermeldt wanneer die wordt gereset.cooldownMessenger gaf tegengas; het account rust.permissionDeze app mocht dat niet doen. Verbind opnieuw en sta het toe.{ "error": "Facebook actions are spaced 10–20 s apart, at random, to look human. Wait 10s.", "code": "gap", "retry_after_seconds": 10 }
Tools
Messenger gebruikt de chattools van Facebook: dezelfde login, dezelfde limieten.
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).
accountstringaccount_id from list_accounts (a listed chat's account_id). Needed only when several accounts are connected.chat_idstringverplichttextstringverplichtimage_urlstringmedia_id instead.file_urlstringmedia_id instead.media_idstringupload_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{ "structuredContent": { "chat_id": "gq5Xp3bZUXCt6Zt1Z2rTsA", "message_id": "7mKQx2VdTnW8bLr4Yc9ey7", "sent": true }, "content": [ { "type": "text", "text": "Message sent." } ] }
- Ontvangen09:41:02
- Binnen de limieten14 van 50 vandaag
- Gespreid+12 s
- Verstuurd09:41:14