line-liff-starter
line-liff-starter copied to clipboard
Send Message in Liff return 403
I use QRCode reader in line to open a liff, then the liff tried to send message via liff-send-messages
but it alway return 403,
Otherwise, if I click the link directly, the liff will work fine and send message successfully. I have already tried created a new liff and created a new channel, but it still not be resolved.
Hi @CoyoteLeo, thank you for your question, and I'm very sorry about the lack of response.
This is most likely because for the liff.sendMessages()
method to successfully send a message, the LIFF app needs to be opened within a LINE chat room.
I hope this helps!