Experimental chat bot to diagnose a disease by symptoms.
- Clone this repo
composer install
cp .env.example .env
php artisan key:generate
- Update your
.env
php artisan migrate
php artisan passport:install
php artisan db:seed
php artisan serve
ngrok http <LARAVEL_SERVE_PORT>
- Create a new app at Facebook Developers
- Add
Messenger
to your app - Create a new page
- Set Facebook Messenger configuration in
.env
- Setup your webhook using ngrok URL (check
messages
andmessanging_postbacks
) - Subscribe the webhook to your page
php artisan botman:facebook:AddStartButton
- Register a new bot here
- Grab the token and save it in
.env
php artisan botman:telegram:register