LineBot 申請 === ## 申請與設定 > https://developers.line.me/en/ 1. 進入Developers Page,選擇`Start Using Messaging API` ![](https://i.imgur.com/ZxIjXrv.png) 2. 新增一個Provider ![](https://i.imgur.com/K0Zj7v0.png) 3. 設定頻道資訊 (使用Developer Trial可以使用Push API) > Developer Trial為免費可使用Push API(推訊息給使用者),但限制50個好友,一般免費帳號無法使用Push API ![](https://i.imgur.com/rUgDobF.png) 4. 新增完成後回到主頁點選`Configuration not yet complete`繼續設定 ![](https://i.imgur.com/yvx7jds.png) 5. 將webhooks設定為`Enabled`,之後部署到heroku後再將Webhook URL填入(限定SSL HTTPS連線) 6. 將Auto-reply message設定為`Disabled`,關掉自動回應 7. 點選ISSUE可以產生accessToken,用於網頁應用程式上(LiveTime設為0不過期) ![](https://i.imgur.com/2tICeM4.png)