Facebook Messenger
By connecting a DialoX bot to Facebook Messenger, it is possible to have conversations between Facebook users and your bot. To do this, you need to connect the bot to a Facebook page that you own. As soon as that is set up, the bot will handle the Messenger messages that are sent to it.
Installation
In your DialoX bot, go to the bot's settings and the "Connect" tab.
Click "Facebook Messenger" and click the button to enable it.
Now you need to log in with Facebook and grant DialoX permission to manage your Facebook pages.
Click the Facebook page you want to connect to your bot.
You can now go to Messenger and start chatting with your Facebook page.
Collaboration between Facebook Pages Inbox and DialoX
It is possible to set up the Facebook Pages Inbox as the primary means of handling user conversations.
To do this, you need to activate the "handover" protocol for your Facebook page. On your Facebook page, go to Page Settings > Messenger Platform > Subscribed Apps. Choose DialoX as the Primary receiver and Pages Inbox as the Secondary receiver, like shown in the screenshot.
![](https://manuals.dialox.ai/~gitbook/image?url=https%3A%2F%2F3356808761-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FEBQHGJABNTj5ISSOTRxM%252Fuploads%252F6zt2qHTc6hcBv93U4D1u%252Ffacebook_handover.png%3Falt%3Dmedia%26token%3De521acef-5c14-4147-8871-b20d884785fa&width=768&dpr=4&quality=100&sign=41223082&sv=1)
First connect your DialoX bot to your Facebook page, otherwise you are not able to set it as primary receiver.
DialoX will now still handle all Facebook messages that are sent to it. For conversations that the bot handles will show up in the "Done" tab of the Pages Inbox. As soon as you move them to the "Main" tab, you are taking over the conversation with the user, and the bot does not reply anymore. Only when you mark the conversation "Done" again, the bot will start to reply again.
Last updated