Last active
November 27, 2019 03:15
-
-
Save jirawatee/88583b0c3e8795eb05ee921682097375 to your computer and use it in GitHub Desktop.
Initialize in LIFF
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script> | |
liff.init({ liffId: "1234567890-XXXXXXXXX" }, () => { | |
if (liff.isLoggedIn()) { | |
// ขั้นตอน 4.4 รออยู่ | |
} else { | |
liff.login(); | |
} | |
}, err => console.error(err.code, error.message)); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment