Search code examples
facebook-messenger-botfacebook-webhooks

Will there be a problem if I use a single server for multiple messenger bot?


I have two messenger bot

  • Bot-01
  • Bot-02

In my server, I created two webHook like

  • myDomain/webhook/bot01_Id
  • myDomain/webhook/bot02_Id

While I verify webHook, I find each specific bot Information from the database and verifying it.

While sending a message, I am doing the same.

It works fine in development, I am using ngRok.

My query is, will it be a problem in production that I am running multiple bots using the same server?

Is there any restriction that I can not run multiple bots using a single server?


Solution

  • No there is no restriction on multiple bots on same server. I have 4 bots running on same server on production. Just keep in check if your server is capable enough to handle all the users from both bot.