https://developers.line.biz/zh-hant/docs/messaging-api/
Step 1:下create a new provider
Step 2:輸入Provider name
Step 3:Create a Messaging API channel
Step 4:給頭像、給名稱...填好資料按Create
Step 5:取得Channel secret與Channel access token
進入Basic Seetings的Channel secret
進入Messaging API 的Channel access token
修改app.py,填入自己的Channel Access Token與Channel secret
# Channel Access Token
line_bot_api = LineBotApi('zty+NgbqonF2diBrj8/m4J2D7mvLQJtdD8Q9jcQGVS2JGbI4zmrn4LaGFtYhdCYnhNW5WeeO9bvweN9zbRWrrYl1rNA9NX16pdb8UhMQKNU7bVYckhbG6dHKYSczFsaicInUL9F6dFBOx8eTkPpklwdB04t89/1O/w1cDnyilFU=')
# Channel Secret
handler = WebhookHandler('b62140d584b95f2d6ac1904c97346f4b')
在別台電腦建置過了,要在另一台繼續編輯,請先下載已上傳在heroku上App的程式碼
git clone https://git.heroku.com/solarism.git
git add .
git commit -am'修改註解'
git push heroku master