Restaurant recommendation system using LINEbot as deploy platform
This is an ongoing project and will be continuously updated in the future. However if you will like to download and get started, follow the step below:
- Run the code below to start the local server:
git clone https://github.com/Jarvis2030/Linebot-Crawler.git
python app.py
ngrok http 5000
- Set the access token and secret to your own one in config.ini
[line-bot]
channel_access_token = 'your access token'
channel_secret = 'your secret'
- setup the webhook using the with ngrok public address
![截圖 2023-09-30 下午10 49 35](https://private-user-images.githubusercontent.com/77675271/271779663-4ca092b7-e705-4959-941a-ae1d225b6e6c.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjUwODM5NjIsIm5iZiI6MTcyNTA4MzY2MiwicGF0aCI6Ii83NzY3NTI3MS8yNzE3Nzk2NjMtNGNhMDkyYjctZTcwNS00OTU5LTk0MWEtYWUxZDIyNWI2ZTZjLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MzElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODMxVDA1NTQyMlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWNlOWQ4ODFlNDY5MGU5OGI2NTdmZWY0NjM5Y2MxNDMyZWFkOTY4YjNhYThmZDBlOTQxZTY4OTAzYjhiYTEzNjQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.DhwiJ3hJDGnA9HKyuOuTgdkESqcelTiAnvqaHdw3oH4)
- If there is any connection error, you can clink into the web interface to see the error code.
- Make sure you are using the right route in the Line webhook.