1打開瀏覽器
2進入這個網址:
https://developers.line.biz/
3點右上角 Log in
4用你的 LINE 帳號登入
1登入後,點 Create(或 建立)
2輸入 Provider 名稱(例如:我的機器人)
3點 Create
1點 Create a Messaging API channel
2填寫資料:
3勾選最下面的同意條款 ☑
4點 Create
1進入你剛建立的 Channel
2點上面的 Basic settings
3找到 Channel secret
4點旁邊的 複製 按鈕
5打開記事本,貼上,寫上「Channel Secret:」
1點上面的 Messaging API
2往下滑,找到 Channel access token (long-lived)
3點 Issue(產生)
4會出現一長串文字,點 複製 按鈕
5貼到記事本,寫上「Channel Access Token:」
1回到 Basic settings
2找到 Channel ID
3複製下來,貼到記事本,寫上「Channel ID:」
Channel ID: 1234567890 Channel Secret: abcdef123456 Channel Access Token: 很長一串英文數字...
你已經取得了三個重要的值:
接下來前往下一章安裝 ngrok!
➡️ Part 8:安裝 ngrok