2

I'm working on a facebook messenger chatbot ( dialogFlow and nodejs and ngrok )

and every time i test the chatbot in my local server (pc or mac)

  • run node index.js
  • i run the ngrok proxy server
  • copy the ngrok server url to facebook app

So now i want to deploy the chatbot on my online server ( linux ) ? Do you have any idea how to do it ? Thanks

Amine
  • 133
  • 1
  • 2
  • 9

1 Answers1

0

Hi you could use services such as Heroku in order to do so. If you launch it on your own Linux server, you should have a URL pointing to it (i.e: mylinuxserver.com) and as your nodeJS code is listening to a route it will work the same as ngrok :) (i.e: mylinuxserver.com/bot)

plieb
  • 1,130
  • 1
  • 9
  • 23