The document contains code snippets and instructions related to using the LIFF API to send messages from a LINE app. It includes code to initialize LIFF, send a test message, and make a POST request to get a LIFF ID for an app URL.
5. R A DAO D58 CKI D , KID (
R =LDNA 89 , 0
R DAO 9PJA
R 8 JJIKL L=K AL+ = ES 30 N) & AO
A DAO 8.
R 1=N=8 KDJL 8.
<script src="https://d.line-scdn.net/liff/1.0/sdk.js"></script>
6. Connect
liff.init(
data => {
// Now you can call LIFF API
const userId = data.context.userId;
},
err => {
// LIFF initialization failed
}
);