Facebook Chatbot implementation in PHP.
- Install AMPPS (Local PHP Web server + MySQL)
- To allow the tunnel request from facebook to localhost server, Install Ngrok
- Type the following command in terminal ./ngrok http 80
- Copy the forwarded https link from the terminal (https://xxxxx.ngrok.io)
- To change port number ./ngrok http PORT_NUMBER
- To check https traffic use the following url: localhost:4040/inspect/http
- Download the following SSL cetrificate from https://curl.haxx.se/ca/cacert.pem and configure in localhost