Run python file app.py Run with ngrok port 8000 Edit linedeveloper webhook url and postfixe with /webhook
First in user state enter any key to access manual
Show in carousel columd mode button below which is the description and the link of the game to steam
- RPG
- SLG
- Casual
- Co-op
in state above which can see the description of these games and the link of these games in steam
Send image in linebot
Type manual to back to manual state
Add local project to Heroku project
heroku git:remote -a {HEROKU_APP_NAME}
Upload project
git add .
git commit -m "Add code"
git push -f heroku master
Set Environment - Line Messaging API Secret Keys
heroku config:set LINE_CHANNEL_SECRET=your_line_channel_secret
heroku config:set LINE_CHANNEL_ACCESS_TOKEN=your_line_channel_access_token
pygraphviz problem in heroku
run commands below can solve the problems
heroku buildpacks:set heroku/python
heroku buildpacks:add --index 1 heroku-community/apt
must include Procfile and requirement.txt , runfile.txt(optional) push to github branch master and deploy
https://{my_server_name}.herokuapp.com/webhook
https://toc-final-project-2021.herokuapp.com/webhook
Web-crawler Send image
##References https://zh-hant.10besty.com/best-steam-games/ https://zh-hant.10besty.com/best-strategy-games/ https://zh-hant.10besty.com/best-co-op-games/ https://zh-hant.10besty.com/best-casual-games/ https://zh-hant.10besty.com/best-rpg-games/ https://cdn.akamai.steamstatic.com/steamcommunity/public/images/clans/27766192/6da8a65fb75742d808f12ab05b2453b56193e65c/schinese.jpg?t=1640734552