Publish helps bot operators to deploy their bot through Facebook Messenger. Using BotStar's Publish, the bot operator will connect easily between Facebook Page and the designed bot to deploy bot to users.
At least one Facebook page, create one if you don't have
Admin role on Facebook page, the BotStar account is linked to Facebook account and it has the Admin permission for that page
Publish bot to Facebook Messenger
Step 1 From within BotStar app, click on
Pubish/ Open Settings or go to
Settings/Publishing. If you have never published or setup publishing for your bot before, the publishing dialog should look like below.
Publishing in Settings
If you still do not connect to Facebook, BotStar will ask you to
Connect Facebook Account
Connect Facebook Account
Step 2 Click
Assign to select Facebook Page that you want to publish your bot to.
Facebook Page assignment
Step 3 Click
Publish button on the top right-hand menu bar to update if any changes.
Update Publish if any changes
Note: Bot cannot be deployed on the same Facebook page. In case the bot has been connected to a Facebook page before, then you must
Unassignto change from your old bot to the bot you want to connect to that Facebook page.
Unassign a bot
When interacting with chat users, your chatbot should look like this:
Bot interacts with users
BotStar does provide some options to customize the behaviour of your chatbot on Messenger. Please note that Facebook provides very limited ability to change any visual settings for bot on Messenger.
Here bot operator will see Whitelisted Domain. This is a list of third-party domains that are accessible in the Messenger webview. Learn more about Messenger Webview here. You can also publish your chatbot for the whitelisted domains (websites).
Contact us at email@example.com if you are interested in developing webview for your chatbot.
Please note that this is different to the Website Domains if you also publish your bot to website.
Disable Message Composer field so the only way your user can interact with your bot is via buttons and quick replies, webviews. End users won't be able to type their response. We do not recommend this behaviour unless your chatbot expect any input from users and provide navigations via buttons or quick reply only.
After enabling Disable Message Composer, users cannot type messages anymore.
Chat screen with disabled message composer
3. Audience Filtering
Users from any of the whitelist countries will see your bot on discovery surfaces on Messenger platform and otherwise Blacklisted countries users won't be able to see your chatbot.
Set up "Send Message" for Facebook page
If your Facebook page does not have
Send Message button, you can follow the instructions below to set it up. Here is the result of the Facebook page after you set up
Send Message button with the user:
Let's set up
Send Message button for your Facebook Page!
Firstly, browse to your Facebook page and click on
Add a button
Add a Button
Then you can adjust
Add a Button, choose "Contact You / "Send Message" in Step 1
Adjust Send Message button
Messenger in Step 2
Finally, you can preview the settings and press
Finish button to complete
Complete Send Message button