LIFF 與 Angular 共舞實作 - 01

CK Sun
CK Sun
Jun 10 · 9 min read

實作:


這邊我們從建立一個 Angular APP 開始:

ng new liff-app
<script src="https://d.line-scdn.net/liff/1.0/sdk.js"></script>

brew cask install ngrok
ng serve --disable-host-check
npm install -g live-server
ng build --prod
live-server dist/{app-name}/
ngrok http 8080

接下來進入LIFF環境設定階段:

LINE Developers
點選Messaging API
https://manager.line.biz/account/@你的機器人ID
由左至右Full,Tall,Compact

Angular 與 LIFF 共舞 (LINE Developer Meetup)保哥上課Keynote

Stackblitz範例連結


結語

CK Sun

Written by

CK Sun

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade