LIFF app not working as expected? Check which browser you're using
Hi! I’m Okajima, a technical writer in charge of documentation for the LINE Developers site.
Have you ever opened a LIFF app from a LINE chat room, only to find that the action button isn't displayed or that you can't send messages using the liff.sendMessages() method?
If so, check which browser is running your LIFF app. You may think you're using the LIFF browser, but you might actually be using LINE's in-app browser.
How to tell the LIFF browser and LINE's in-app browser apart
You can tell the LIFF browser and LINE's in-app browser apart by the appearance of their headers and footers. In the images below, colored borders highlight each browser's header and footer.
| LIFF browser | LINE's in-app browser |
|---|---|
![]() | ![]() |
Look for these three differences:
| LIFF browser | LINE's in-app browser | |
|---|---|---|
| Minimizing button in the header | Not present | Present |
| Action button in the header | Present (*) | Not present |
| Footer | Not present | Present |
* The action button is displayed when the LIFF app's screen size is Full and module mode is off. For more information, see Action button in the LIFF documentation.
You can also use the liff.isInClient() method to check whether your LIFF app is running in the LIFF browser. For more information, see liff.isInClient() in the LIFF API reference.
If the browser isn't what you expected, check the URL
If you thought you opened your LIFF app in the LIFF browser but it's actually running in LINE's in-app browser, check the URL you used to open it. You may have used the endpoint URL instead of the LIFF URL.
| URL | Description |
|---|---|
| LIFF URL | The URL to access a LIFF app. Opening this URL from a LINE chat room opens the LIFF app in the LIFF browser. Example:https://liff.line.me/1234567890-abcdefgh |
| Endpoint URL | The URL of the web app that implements the LIFF app. Opening this URL from a LINE chat room opens the LIFF app in LINE's in-app browser. Example:https://example.com/ |
Even within the same LINE chat room, the browser that opens your LIFF app differs depending on whether you use the LIFF URL or the endpoint URL. Keep in mind that even if both URLs ultimately display the same page, the features available in the LIFF browser and LINE's in-app browser differ.
For more information about the differences between these browsers, see The differences between LIFF browser and LINE's in-app browser in the LIFF documentation.
Wrap-up
Opening a LIFF app from a LINE chat room doesn't always mean it's running in the LIFF browser. If your LIFF app isn't working as expected, take a look at the header and footer to check which browser you're using.

