Hi Snorf,
You can get them by calling liff.getDecodedIdToken()
after liff.init()
.
The value of "aud" in response corresponds to the channel ID.
https://developers.line.biz/en/reference/liff/#get-decoded-id-token
- 1
Right now, I'm going the way to setup URL with query param which is channel identity e.g. https://liff.line.me/LIFF_ID?channelId=CHANEL_ID
How can I get the source channel identity e.g. channel id, channel name by programmatically without passing query param as above ?
Hi Snorf,
You can get them by calling liff.getDecodedIdToken()
after liff.init()
.
The value of "aud" in response corresponds to the channel ID.
https://developers.line.biz/en/reference/liff/#get-decoded-id-token
関連する質問
関連する質問はありません