Visited developers.facebook.com to set up a new app, and got an App ID,
API key, and app secret, and added these to the FB Messenger module
configuration (these are not saved on Github).
The tutorial referenced above had a version of Botpress that had
ngrok, a local webserver that allows secure incoming connections for
development purposes, installed by default. BP no longer has this.
I downloaded and installed ngrok from the following URL:
Used the following tutorial instructions to configure Botpress FB messenger module:
https://www.youtube.com/watch?v=HTpUmDz9kRY
Created an FB page to connect the bot we are building to:
https://www.facebook.com/BotTest-360294524404976/
Visited developers.facebook.com to set up a new app, and got an App ID, API key, and app secret, and added these to the FB Messenger module configuration (these are not saved on Github).
The tutorial referenced above had a version of Botpress that had ngrok, a local webserver that allows secure incoming connections for development purposes, installed by default. BP no longer has this.
I downloaded and installed ngrok from the following URL:
https://ngrok.com/download
It is in the /wdi/tools/ngrok directory locally.
From within that directory, I can run
./ngrok help
.I ran
./ngrok http 3000
to match the 3000 port BP is running on.ngrok returned a forwarding URL [subdomain-not-mentioned-here].ngrok.io.
I added this to the configuration page (http://localhost:3000/modules/botpress-messenger)
and received the following response on ngrok:
GET /api/botpress-messenger/webhook 200 OK
Responds to Issue #3 and Issue #6.