# Getting started

Before you dive straight into developing a LINE MINI App, we recommend that you carefully read this content:

# Create a LINE MINI App Channel

A Channel is the communication channel that connects your app to the LINE Platform. Create a LINE MINI App channel on the LINE Developers Console for each LINE MINI App.

  1. Access the LINE Developers Console and select a provider.

  2. Click in the order of Channels > Create a new channel > LINE MINI App.

    LINE MINI App channel

    Creation of LINE MINI App channel
    • If your service area is Japan, anyone who is a permitted customer in the LINE MINI App Policy (opens new window) can create a LINE MINI App channel.
    • If you are unable to create a LINE MINI App channel even though your service area is Japan, try the following:
    • If your service area is Taiwan, you can only create a LINE MINI App channel if you are approved by our local subsidiary. For more information, see LINE MINI App official site for Taiwan users (opens new window).
    • If your service area is Thailand, you can only create a LINE MINI App channel if you are approved by our local subsidiary. The contact details for receiving approval are currently being prepared.
  3. Enter the information in the items below to create a LINE MINI App channel.

    Item Required? Description Location displayed to users
    Channel type The channel type. Select LINE MINI App to create your LINE MINI App channel. -
    Provider The channel's provider Permission consent screen when launching LINE Login or LIFF App
    Region to provide the service The region you want to provide your LINE MINI App. One of:
    • Japan
    • Thailand
    • Taiwan
    *If you want to provide your LINE MINI App in multiple regions, create a channel for each region.
    -
    Channel icon The channel's icon. For more information on the icon sizee and design, see LINE MINI App icon.
    Channel name The channel's name
    *Channel name cannot contain "LINE" or similar strings.
    Channel description The channel's description. If the company in charge of developing the LINE MINI App and the company providing the service are different, notify the user. For more information, see Company information in the LINE MINI App Policy (opens new window). Permission consent screen when launching LINE MINI App
    Email address Email address to receive important updates about the channel -
    Terms of use URL The app's terms of use URL Permission consent screen when launching LINE MINI App
    LINE Developers Agreement Read and agree to the LINE Developers Agreement. -
    LINE MINI App Platform Agreemeent Read and agree to the LINE MINI App Platform Agreement. -
    Service company's country or region Represent and warrant that the region to provide the LINE MINI App and service company's country or region are the same. Permission consent screen when launching LINE MINI App
    LY Corporation Privacy Policy See description Required only if you've selected Thailand as Region to provide the service. Read and acknowledge LY Corporation Privacy Policy (opens new window). -
  4. Be sure to read By creating a Mini App and agreeing to the terms and conditions herein, I hereby warrant and represent that I have the full authority to execute and bind my company to the terms hereof. and check the box to indicate you warrant and represent said authority.

  5. Click Create.

  6. Be sure to read "Regarding Consent to Usage of the Information" and click Accept if you consent.

    Your LINE MINI App will be created.

You can't configure the Privacy Policy URL when creating a LINE MINI App channel

If the company in charge of developing the LINE MINI App and the service provider are different, you will need to configure the Channel description and Privacy policy URL in order to pass the review. For more information, see Company information in the LINE MINI App Policy (opens new window).

You can't configure the Privacy Policy URL when creating a LINE MINI App channel. Edit settings after first creating a channel.

# Precautions for channel and provider linkage

Once you create a channel, you can't move the channel to another provider later.

A LINE user who uses services provided by developers is given a different user ID for each provider. User IDs can't be used to identify the same user across channels under different providers.

Cases that require special attention when creating a channel

For example, the following cases require special attention:

  • Channels and providers are managed by individuals or companies.
  • Create channels of unrelated services or companies under one provider.
  • Channels are created under a provider managed by a service (company) that operates channel management tools, etc.

In such cases, problems may arise in the future due to the inability to move channels later between providers and the fact that a user is given different user IDs for different providers. After considering the risks involved, create a channel under the appropriate provider.

# Develop a LINE MINI App

Once you create a LINE MINI App channel, you can start developing a LINE MINI App. Think of developing a LINE MINI App as developing a LIFF app with additional requirements and restrictions as explained in this guide.

For more information, see the Specifications.

# Internal structure of a LINE MINI App channel

From the Channels tab of the LINE Developers Console, a LINE MINI App appears as a single channel, but internally it consists of the following three channels (hereafter called "internal channels"):

Internal channels Description
LINE MINI App channel in Developing LINE MINI App channel used for development. The channel status is always "Developing".
LINE MINI App channel in Review LINE MINI App channel used for review by LY Corporation. The channel status is always "Developing".
LINE MINI App channel in Published LINE MINI App channel that is published and made available to users. The channel status is always "Publishing".

For more information on internal channels, see LINE Developers Console Guide for LINE MINI App.

# Using APIs

Two types of APIs are available for you to develop LINE MINI Apps: the LIFF API and the Service Message API. The LIFF API is called from your LINE MINI App, while the Service Message API is called from the server-side of your service. For more information on using the LIFF API, see LIFF documentation.

For instance, to implement a custom action button, you would need to call the LIFF API from your LINE MINI App. But to send service messages, you would need to call the Service Message API from your server.

LIFF API is constantly being improved

To enhance user experience, the LIFF API is constantly adding new features and improving existing features.

# Use basic authentication to restrict access to your LINE MINI App before it is released

Basic authentication is available for LINE MINI Apps with the status "Developing" or "Reviewing". You can restrict access to pre-publishing LINE MINI Apps by using basic authentication.

# How to use basic authentication

In the LIFF tab on the LINE Developers Console, specify the URL with basic authentication in the Endpoint URL for Developing or Review. Then open the LINE MINI App in the LIFF browser and a dialog box will appear prompting you to enter your username and password.

Basic authentication screen

# Conditions for basic authentication

Basic authentication is available when all of the following conditions are met:

  • The status of your LINE MINI App is "Developing" or "Reviewing".
  • LINE version is 12.2.0 or later.
  • LINE MINI App is open in LIFF Browser.

Basic Authentication isn't available for the LIFF App and LINE MINI Apps whose status is "Published". Also, you can't use digest authentication.

When basic authentication isn't available even though the conditions are met

Basic authentication isn't available in a LINE MINI App after a LIFF-to-LIFF transition. For more information, see Opening a LIFF app from another LIFF app (LIFF-to-LIFF transition) in the LIFF documentation.

For more information about basic authentication specifications on LIFF browser, see LIFF browser specifications in the LIFF documentation.

# Notes on using basic authentication

Basic authentication is an authentication method used for simple access restrictions, and developers of LINE MINI Apps should evaluate and judge for themselves whether basic authentication meets their security requirements before using it.

The addition of this functionality doesn't recommend the use of basic authentication, nor does it guarantee the security of access restrictions based on basic authentication.

# Our recommendations for development

Develop your LINE MINI App in a way that helps users to access your core features easily and quickly. Here are a couple of our suggestions:

  • Use HTML5 Geolocation API (opens new window) for locating users.
  • Utilize users' LINE profile information, which can be obtained with the LIFF API. For instance, auto-generating users' LINE profile information for restaurant reservations spares users from having to enter their personal information each time they make a new reservation.
  • Optimize your LINE MINI App's performance to provide better user experience for your LINE MINI App users. For more information, see the Performance guidelines.

# Request LINE MINI App review

Before publishing the LINE MINI App that you have developed, you need to submit an application for review to LY Corporation. For more information, see Requesting review for your LINE MINI App.