line / line-liff-starter

This is a small web application that demonstrates the basic functionality of the LINE Front-end Framework (LIFF).

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Send Message in Liff return 403

CoyoteLeo opened this issue · comments

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!