- Clone this repository and install dependencies
composer.json
$ git clone https://gitlab.playcourt.id/iskandarsuhaimi/sample-bot-kiwari.git
$ cd sample-bot-kiwari
$ composer install
$ composer dump-autoload -o-
Go to
Jelajahmenu -
chat with
Chatbot Builder -
Create bot and get
access_token -
Copy and Paste to
Controller.phpclass -
Run webhook server
$ php -S localhost:3000- Tunneling your webhook server
$ ngrok http 3000-
Register your webhook url by copy your ngrok https url from CLI, then input it into
Chatbot Builder -
Enjoy!