1在 LINE Developers 的 Messaging API 頁面
2找到 QR code
3用手機打開 LINE,點右上角的 加好友
4點 行動條碼,掃描電腦上的 QR code
5加機器人為好友
用手機 LINE 對機器人說:
你好
OpenClaw: access not configured. Your lineUserId: Uxxxxxxxxxxxxxxxx Pairing code: ABC123 Ask the bot owner to approve with: openclaw pairing approve line <code>
ABC123)
回到電腦的 PowerShell(不是 ngrok 那個視窗),輸入:
openclaw pairing approve line ABC123
(把 ABC123 換成你收到的配對碼)
Approved line sender Uxxxxxxxx。
再用 LINE 傳一次訊息:
你好