LineBot
linebot的api server 必須用https的,所以測試建議可以部署在heroku或是使用ngrok
不錯的文章:http://www.oxxostudio.tw/articles/201701/line-bot.html
申請機器人
注意:一個是free方案一個是developer trial後面的這個才可以用push API (選好後無法兩者切換)
https://business.line.me/zh-hant/services/lineat
管理機器人
https://admin-official.line.me/8417327/account/autoanswer/#/?backUrl=%2F%3Fpage%3D1
包含把自動回覆訊息修改或關閉
開發者設定
https://developers.line.me/console/channel/1550169976/basic/
開發者文件
https://developers.line.me/en/docs/messaging-api
https://developers.line.me/en/docs/messaging-api/reference/
注意事項
https://engineering.linecorp.com/tw/blog/detail/183
# API 範例
WebHook
先在developer.line.me設定

PUSH
如果client沒有主動送訊息給bot過,則可能會出現傳送失敗的錯誤
userID可以在開發者設定網頁最下方看到
回覆訊息
回覆圖卡訊息
Last updated
Was this helpful?