API reference Development guidelines Quickstart Discover LINE MINI App Design LINE MINI App Develop LINE MINI App - Getting started with development
- Implementing a custom action button
- Sending service messages
- Configuring Custom Path
- Skipping the channel consent process
- Handling payments
- Creating permanent links
- Add a shortcut to your LINE MINI App to the home screen of the user's device
- Managing LINE MINI App settings on LINE Developers Console
- Open a LINE MINI App in an external browser
- Implementing web apps in operation as LINE MINI Apps
- Performance guidelines
Submit LINE MINI App Service LINE MINI App Tools
API reference Development guidelines Quickstart Discover LINE MINI App Design LINE MINI App Develop LINE MINI App - Getting started with development
- Implementing a custom action button
- Sending service messages
- Configuring Custom Path
- Skipping the channel consent process
- Handling payments
- Creating permanent links
- Add a shortcut to your LINE MINI App to the home screen of the user's device
- Managing LINE MINI App settings on LINE Developers Console
- Open a LINE MINI App in an external browser
- Implementing web apps in operation as LINE MINI Apps
- Performance guidelines
Submit LINE MINI App Service LINE MINI App Tools
# Creating permanent links
Users can use not only LIFF URLs but also permanent links to access LINE MINI Apps. However, permanent links should be used instead of LIFF URLs for the purpose of sharing LINE MINI App pages.
When you share a LINE MINI App page using the action button in the header, LINE automatically generates a permanent link of the page.
For every other instance, you need to create a permanent link yourself according to the following formula.
LIFF URL + (LINE MINI App URL - Endpoint URL) = Permanent Link
E.g.
Item | Settings |
---|---|
LIFF URL* | https://miniapp.line.me/123456-abcedfg |
URL of the LINE MINI App page | https://example.com/shop?search=shoes#item10 |
Endpoint URL* | https://example.com |
* You can find it on the Web app settings tab of the LINE Developers Console.
In this case, the permanent link corresponding to the URL of the LINE MINI App page is as follows:
https://miniapp.line.me/123456-abcedfg/shop?search=shoes#item10
You can use raw path to your page, query parameters, and hash fragments in the URL of the LINE MINI App page.
As of December 13, 2023, the LIFF URL of the LINE MINI App has been changed to https://miniapp.line.me/{liffId}
.
If a user accesses existing https://liff.line.me/{liffId}
, the LINE MINI App will also open. Therefore, you can continue to use the QR code that you've already issued.
# Differences in domain names depending on the LINE app version
When you share a LINE MINI App using the action button in the header, the domain name of the permanent link generated differs depending on the version of the LINE app.
LINE app version | Example of URLs generated |
---|---|
13.20 or later | https://miniapp.line.me/{liffId} |
Earlier than 13.20 | https://liff.line.me/{liffId} |
# If the user doesn't have LINE installed
When a user that has LINE installed clicks on a permanent link, LINE takes the user to the exact page directed by the link. If a user doesn't have LINE installed, a web browser is opened, prompting the user to download LINE. When users install LINE, they can use the LINE MINI App.
However, if you enable Redirect non-LINE users to a web browser on the LINE Developers Console, non-LINE users outside of Japan, Thailand and Taiwan can view the LINE MINI App services in an external browser. For more information, see Redirect non-LINE users to a web browser.