Simple PHP Bot for echoing user message from LINE webhook
php -S localhost:8080
ngrok http 8080
- Setup LINE webhook in https://developers.line.me
This code is written for the study of how LINE Bot API work in the very simplest way, using PHP script. It neither intended to be used in production nor best practice.