From 0.134.0 a dedicated bot can answer a Facebook Page’s inbox, the same way a bot answers on Zalo or Telegram: same Agent, same brain, same active hours, every chat in the inbox, and a human can take over when needed.

Messenger
How Javis connects Webhook: Meta calls Javis, needs an HTTPS domain
Groups No, private chats with the Page only
Files Images and documents, both ways
Voice notes Transcribed (needs a Groq key on the Models page)
Replies Only within 24 hours of the customer’s last message
Formatting Plain text: Messenger shows no Markdown, Javis strips the symbols
Page comments Yes (from 0.434.0): every top-level comment is a conversation in the inbox

Quickest way: the Log in with Facebook button (from 0.434.0)

No Graph API Explorer, no Page ID or token to copy. First time, and want every click on Meta’s site: Messenger step by step.

  1. On developers.facebook.com/apps, create an app with the Messenger use case and add four permissions pages_read_engagement, pages_read_user_content, pages_manage_engagement, pages_manage_posts (once).
  2. Open Javis through its HTTPS domain, go to Connections, card Meta connection, click Connect a Page. The form shows two addresses with a Copy button:
    • Redirect address: paste it into Valid OAuth Redirect URIs in the app’s Facebook Login settings (add the Facebook Login product first if the app has none).
    • Privacy policy link: Javis serves this page itself. Paste it into App settings, Basic, Privacy Policy URL and User data deletion.
  3. Paste the App ID and App secret, pick how comments are handled, click Log in with Facebook. A Facebook tab opens: sign in, tick the Pages, accept the permissions.
  4. Back on the Javis tab the Page list appears: tick the Pages to connect and click Connect the ticked Pages. Javis gets a non-expiring Page token, registers the webhook, subscribes each Page to the app and shows a checklist per Page.
  5. Open Chatbot, Bots, tick the new channel on a bot and switch the bot on. Until a bot is on, Javis does not take in messages.
  6. Switch the app to Live (section 4), then test with a Facebook account that has no role on the app.

Posting to the Page (from 0.438.0)

The same connection on the Meta connection card lets Javis post to the Page: text, photos, albums, video, editing and deleting posts. Ask Javis “post this to the Page” to post now, or “every day at 8am post something” to schedule it. It needs pages_manage_posts (Log in with Facebook asks for it; the app must add that permission first, see the step-by-step guide). A Page connected before 0.438.0 needs one more Log in with Facebook. The checklist has a Can post to the Page row saying whether the permission is there. The Javis Store no longer lists the Facebook Pages card; machines that installed it keep using it.

Instagram and post numbers (default, from 29/11/2026)

Log in with Facebook now always asks for the Instagram and insights permissions; there are no ticks any more. Once connected, Javis reads:

  • The Page’s Facebook posts: shares, comment count and reaction count (likes, loves…). Ask Javis “which post had the most shares this week”.
  • The Page’s Instagram posts: likes, comments, saves, shares, reach and views.
  • Page insights: views, viewers, engagement and follows per day, week or 28 days.

Facebook does not expose saves for Page posts through its API, so saves come from Instagram posts only.

The Meta app must already have these permissions, otherwise Facebook shows Invalid Scopes and refuses the whole login. To add them (once), on developers.facebook.com, your app, Use cases:

  1. On the Manage everything on your Page row, click Customize, find read_insights and click Add.
  2. Add the Instagram use case (Manage messaging & content on Instagram), click Customize and Add instagram_basic, instagram_manage_messages, instagram_manage_comments and instagram_manage_insights.
  3. Instagram must be a professional account (business or creator) linked to the Page.

Not added yet, or no Instagram: while the login waits, click Messenger only right under the button. Javis logs in again with the Page permissions alone; messages, comments and posting still work, only Instagram and the numbers are missing.

For a Page connected before, click New token and log in once more. The checklist’s Reads post insights row and Instagram row say whether the Page token has every permission.

Page comments (from 0.434.0)

The way Pancake shows them: every top-level comment under a post is its own conversation in the inbox, and the replies under that comment (from other customers or from the Page) join the same conversation. What you type in the inbox shows publicly right under the top-level comment on Facebook. An image can go with it, other files cannot (a comment only takes images).

From 30/11/2026, also like Pancake:

  • The conversation carries the name of the customer who wrote the top-level comment (the post still shows in the card at the top of the chat). A name you set yourself is kept. When Facebook sends no name, Javis reads the commenter’s name with the Page’s permissions.
  • Every comment shows its author, and each comment has two buttons:
    • Reply: the input says who you are replying to, and your reply lands right under that comment. Instagram only allows replies under the top-level comment, so Javis puts that person’s @name at the start.
    • Message privately: opens a private Messenger chat (or Instagram message) with that person, separate from the comment conversation. With no private chat yet, the panel still switches to the private chat with that person, says clearly that nobody (you or the A.I.) has messaged them privately yet, and gives you a box for the first message; the arrow at the top takes you back to the comment. Once sent, the new private chat opens. A customer who both comments and messages privately has two conversations: one for the comment, one for the private messages.

Each Page picks one of three modes, on the connect form or in the list of connected Pages:

  • Show in the inbox, you reply (default): comments land in the inbox, the bot does not answer them. Asking the bot to draft a reply works as in any other conversation.
  • The bot replies publicly: the bot answers like a message, told that everyone can read the reply, so it keeps it short, shares nothing private and invites the person to message the Page when needed. By default the bot sends no private message, so it is also told never to say it has messaged anyone privately or sent anything through Messenger.
  • Off: comments are ignored.

The bot messages a commenter privately (from 0.682.0). When a Page uses The bot replies publicly, its entry in the list of connected Pages gets a Message commenters privately field. Turned on, the bot may send the commenter one private Messenger message (or Instagram message), when the bot’s instructions ask for it or when the customer asks for private details, a sign-up link for example. The private part never shows publicly. Meta allows one private reply per comment, within 7 days. The message shows in the inbox, in the private conversation with the customer. Off by default. If another tool on the Page already messages commenters privately, turn one of them off so the customer does not get two messages.

Comments need two more permissions, pages_read_user_content and pages_manage_engagement (Log in with Facebook asks for both). The checklist has a Receives Page comments row: yellow means a permission is missing or the Page does not send comments to Javis yet; log in with Facebook again, then click Repair. Without the comment permissions Messenger messages keep working.

Pasting a token (from 0.311.0)

The step people get wrong is the token: a user token pasted where a Page token belongs (error 100, error 210), a short-lived token that dies within the hour, or a webhook saved without the messages field so the bot stays silent. This card does those steps for you.

  1. On Meta, create an app with the Messenger use case and connect the Page (steps 1.1 to 1.3 below, no need to click Generate yet).
  2. Open Graph API Explorer, pick the right app, add pages_show_list, pages_messaging, pages_manage_metadata, pages_read_engagement, click Generate Access Token and tick the right Page. Copy the EAA... string.
  3. Open Javis through its HTTPS domain, go to Connections, card Meta connection, click Connect a Page, then Paste a token instead. Paste the App ID, App secret, Page ID and the token, then click Connect and check.
  4. Javis derives a non-expiring Page token, registers the app webhook with messages, messaging_postbacks and message_echoes (so the bot sees the files staff send from the Page inbox), subscribes the Page to the app, saves the channel and shows a checklist with a fix for every red row.
  5. Open Chatbot, Bots to create a bot for the new channel (section 3).

Every brain lists every connected Page on this card. Every connected Page has Check, Repair (registers the webhook and subscribes the Page again) and New token buttons. Any brain can call the messenger_check and messenger_repair tools when the bot goes silent. Business verification and App Review for pages_messaging (section 4) still happen on Meta’s site. To have Javis message a customer from chat, the brain finds the chat with inbox_find and sends with inbox_reply, through that chat’s own Page or Instagram account. inbox_reply also sends images and files already in the brain (“send Lan the price list in attachments”). Messenger accepts a message within 24 hours of the customer’s last one.

The manual steps below still work.

1. Create a Meta app (once)

  1. Open developers.facebook.com/apps and click Create app. Pick the use case for messaging customers on Messenger and connect it to your Business portfolio.
  2. In the app, go to Messenger → Messenger API settings.
  3. Under Generate access tokens, click Connect (or Add Page), pick your Page, then Generate to get the Page access token. Copy it.
  4. Go to App settings → Basic: copy the App ID, then click Show next to App secret and copy it.
  5. Get the Page ID: it shows next to the Page name in step 3, or under About → Page transparency on the Page.

2. Add the Messenger Page in Javis

If the Page was connected on the Meta connection card on the Connections page, skip this section: the Page is already in the channel list, go straight to section 3.

Messenger is only connected on the Meta connection card. On the Chatbot page, Channels tab, Connect a new channel, choosing Messenger shows no token field, only an Open the Messenger card button that takes you to that card.

  1. Open Javis through its HTTPS domain (not localhost or an IP), go to Connections, card Meta connection, click Connect a Page, then Paste a token instead.
  2. Fill in the App ID, App secret, Page ID and paste the Page access token you copied in section 1, then click Connect and check.
  3. Javis registers the webhook, subscribes the Page to the app and shows the checklist. If the webhook row stays red after Repair, paste the Webhook address and Verify token (shown on the form, each with a Copy button) into Messenger’s Configure webhooks by hand and tick messages, messaging_postbacks, message_echoes and feed.

3. Attach a bot

  • Reuse the bot already on Zalo: open it on the Chatbot page, Bots tab, click Edit, tick the Messenger channel you just connected, Save. The bot answers on Zalo and Messenger with the same Agent and the same active hours.
  • Or create a new bot for Messenger only.

Switch the bot on. Javis then subscribes the Page to the app’s webhook by itself (no manual step); any error shows on the bot card in words. If the token lacks the permission to subscribe, the bot still runs and its card reminds you to subscribe the Page once by hand: Meta app, Messenger, Webhooks, Add Subscriptions for the Page.

4. Test, then open it to everyone

  • While the app is in development mode, only people with a role on the app (admin, developer, tester) get replies. Test with your own Facebook account: send the Page a message.
  • To answer everyone, switch the app to Live. Meta asks for a privacy policy link: use the Privacy policy link Javis shows on the connect form.
  • Meta’s documentation says an app that only messages your own Page needs no App Review. Some people still see the bot blocked when replying to strangers after going Live, so test with a Facebook account that has no role on the app. If Meta still blocks it, submit App Review for pages_messaging (usually with business verification); a template is in the step-by-step guide, 5.3.
  • Sign that the app lacks Advanced Access: the inbox only shows “Staff” messages (the Page’s auto replies, greetings, replies typed by staff), customer names show as long numbers, and messages from people with a role on the app or Page still arrive. Meta then does not deliver ordinary customers’ messages to Javis at all, even with the app Live (reported 24/11/2026). Javis cannot fix this on its side: request Advanced Access for pages_messaging.

Common errors

Javis says Meaning Fix
more than 24 hours since this person last wrote The customer wrote over a day ago Wait for them to write again, or answer from Meta Business Suite
the app may not message people outside it yet (200) The app is still in development mode, or Meta wants App Review Switch the app to Live (section 4); if it persists, submit pages_messaging for review
Facebook reports a blocked URL when signing in The Redirect address is not in the app Copy the Redirect address from the form into Valid OAuth Redirect URIs of Facebook Login
the app may not reply to comments yet pages_manage_engagement is missing Log in with Facebook again and accept every permission
the Page access token expired or is wrong (190) Temporary or revoked token Generate a new one (step 1.3), click New token for that Page on the Meta connection card and paste it again
Javis could not subscribe the Page to the webhook Token lacks pages_manage_metadata The bot still runs if the Page was subscribed by hand; otherwise click Add Subscriptions for the Page under Messenger, Webhooks, or generate the token again while you are a Page admin
The App secret does not belong to the app this Page access token was made in App secret copied from another app Copy the App secret again from App settings, Basic of the app that made the token. With a wrong secret Javis cannot trust the signature on Meta’s messages, so it refuses it when you save
Meta cannot verify the webhook Callback URL is not HTTPS, or wrong token Open Javis through its HTTPS domain and copy the address from the form again