Search code examples
facebookfacebook-graph-apibotschatbotfacebook-chatbot

How do I create multiple Facebook bots with a single platform?


I have a Facebook bot and I have connected it with a Facebook page. However to have it publicly available I have to wait the approval from Facebook.

Not a problem if you have to make one single bot, huge problem if you have to do it on scale level (eg: 100+ bots).

Platform as Chatfuel or Content Api allow you to just select the page you own and connect the bot automatically.

In minutes the bot is publicly available, skipping the review phase (apparently) in Facebook.

I didn’t find any info about that on the Facebook developer guide, there is a sort of internal API not available for everyone? If so how can you request access to that?


Solution

  • Facebook Messenger bots are published for a page (which is the bot identity) using one or more applications (which defines the webhook where messages are sent). So the application must be reviewed and approved by Facebook. After that, any page can be 'attached' to this application, using the standard Facebook authorization flow in order to get an access token for this page by the approved application.

    So Chatfuel and others alreay have their application approved, and now any page can be connected to it.