# Adding a LIFF app to your channel
When you add a LIFF app to a LINE Login channel on the LINE Developers Console, the LIFF app can run either in LINE or in an external browser.
# Before you begin
Make sure you've done the following:
- Created a channel for your app.
- Deployed the LIFF app on any server according to the instructions in Trying a LIFF starter app or Developing a LIFF app.
# Using share target picker
When using the share target picker liff.shareTargetPicker() in the LIFF app, developers should carefully read and agree to the Agreement Regarding Use of Information content. This agreement is required for each channel.
In the LINE Developers Console, select the LINE Login channel to which you want to add the LIFF app and click the LIFF tab.
Click shareTargetPicker, carefully read the displayed contents and check I have read and agree to the Agreement Regarding Use of Information, then click Enable.
# Adding the LIFF app to your channel
You can add up to 30 LIFF apps to each channel.
On the LINE Developers Console, select the LINE Login channel to which you want to add the LIFF app, then click the "LIFF" tab.
Concatenate the following items in the order listed. You can always change your settings later:
Item Description LIFF app name Name of the LIFF app. The LIFF app name specified in this item is displayed to the user.
The LIFF app name can't include "LINE" or similar strings, or inappropriate strings.
Size Size of the LIFF app view. Select one of:
Endpoint URL The URL of the LIFF web app (e.g.
https://example.com). This URL will be used when the LIFF app is launched using the LIFF URL.
The URL scheme must be https. URL fragments (#URL-fragment) can't be specified.
Scopes *1 Scope required for some LIFF SDK methods to function.
openid: Scope required to use
profile: Scope required to use
chat_message.write: Scope required to use
liff.sendMessages(). Depending on your account type, this option may appear under View all. *3
Bot link feature *4 The setting for bot link feature
On (normal): Adds the option of adding the LINE Official Account as a friend on the LIFF app permission consent screen.
On (aggressive): Displays a screen after the LIFF app permission consent screen to confirm whether the user wants to add the LINE Official Account as a friend.
Off: Doesn't display the option of adding the LINE Official Account as a friend.
Item Description ScanQR Enable this setting when using
liff.scanCode()in the LIFF apps added to this channel.
Module mode Enable this setting when using the LIFF app in module mode. When Module mode is enabled, the action button in the header is hidden. This option will be displayed only if you have selected Full for size of the LIFF app view.
*1 For more information on scopes displayed to corporate customers who are registered to use the scopes, see LINE Profile+ under Options for corporate customers.
*2 Displayed only if you applied for OpenId Connect email permission in a LINE Login channel.
*3 After transitioning from LIFF A to LIFF B, the
chat_message.writescope will be disabled in LIFF B, whereby the
liff.sendMessages()method, which requires the
chat_message.writescope, will no longer be available. For more information on the transition between LIFF apps, see Opening a LIFF app from another LIFF app.
*4 Displayed only for LINE Login channels.
When adding the LIFF app, a LIFF ID and LIFF URL are created.
Item Description LIFF ID LIFF app ID.
LIFF URL The URL to access to LIFF apps. When users access the LIFF URL, they are redirected through the LIFF server provided by LINE to the LIFF app server (endpoint URL) provided by the developer.
# Other operations
You can also perform these operations from the LIFF tab of the LINE Developers Console.
- Edit LIFF app settings
- Delete the LIFF app from your channel
# Next steps
After adding the LIFF app to your channel, try opening it.