💡

LINE Liff AppのTips

2023/05/07に公開
Inspector

https://developers.line.biz/ja/docs/liff/liff-plugin/#liff-inspector

https://liff-inspector-example.netlify.app/?liff.referrer=https%3A%2F%2Fgithub.com%2Fcola119%2Fliff-inspector-example

ngrok のインストール
$ brew install ngrok/ngrok/ngrok
Inspector Server の起動
$ ngrok http 9222
$ node -e "const res=$(curl -s -sS http://127.0.0.1:4040/api/tunnels); const url=new URL(res.tunnels[0].public_url); console.log('wss://'+url.host);"
$ npx @line/inspector
Debugger listening on ws://{IP Address}:9222

Discussion