👩💻Using Source Code
#
Deploy to Glitch- Click 'Remix' button bellow
- Set Variables in
.env
files - Put your glitch app url in your facebook app developer, e.g.
https://hayword.glitch.me/webhook
#
Testing in localhost & Deploy with Ngrok- Download
final-code.zip
here - Unzip
final-code.zip
and open final-code folder - Create .env file that contain :to getting the value from .env variables, you can read the tutorial.
- run
npm install
oryarn add
in terminal - run
npm start
in terminal - Download and Install Ngrok here.
- run ngrok
ngrok http 1337
in terminal, after that you will get ngrok url e.ghttps://5f54c02d532f.ngrok.io
- Put ngrok url+/webhook that you get to webhook url in facebook app developer e.g
https://5f54c02d532f.ngrok.io/webhook