# FAQ

To delete the bot, you need to delete your LINE Official Account.

LINE Developers Console allows developers to create up to 100 channels per provider. The 101st channel cannot be created.

You can assign a role in the channel created by one developer to another developer. For more information on managing roles, read the following:

Restrictions on assigning roles in the Messaging API channel

If one developer already manages 100 Messaging API channels, you can't assign him/her a role for a channel created by another developer.

Restrictions on LINE Official Account Manager

With LINE Official Account Manager, you can create up to 100 LINE Official Accounts per account.

Your account may not have been set up to allow webhooks. To allow webhooks, enable Use webhook on the Messaging API tab of your channel settings on the LINE Developers Console.

Depending response settings on the LINE Official Account Manager, the LINE Official Account will automatically send replies.

Click Edit in Auto-reply messages on the Messaging API tab of your channel settings on the LINE Developers Console to access LINE Official Account Manager and check Response setting.

If any of the following settings, LINE Official Account will automatically send replies.

  • When Response mode is set to Bot

    • If Greeting message is set to Enabled, it will automatically send replies when user adds your LINE Official Account as a friend.
    • If Auto-response is set to Enabled, it will automatically send replies according to the preset conditions.
  • When Response mode is set to Chat

    • If Greeting message is set to Enabled, it will automatically send replies when user adds your LINE Official Account as a friend.
    • Depending on the Detailed settings setting, it may automatically send replies.

It's not currently possible to get the name and profile image of a group.

You can submit a report here (opens new window). Please note that we cannot guarantee that we will reply to your message.

Auto login can be used in these situations. You don't need to perform any special configurations when implementing LINE Login into your web app to use Auto login.

  • iOS

    • Auto login can be used when accessing a web app where LINE Login v2 or v2.1 is implemented using LINE's in-app browser or the Safari browser.
  • Android

    • Auto login can be used when accessing a web app where LINE Login v2 or v2.1 is implemented using LINE's in-app browser or external browsers such as Chrome.

Auto login isn't supported for devices other than iOS and Android devices, devices where LINE isn't installed, and in browsers other than the Safari browser for iOS.

Also, we use iOS's Universal links (opens new window) and Android's Common intents (opens new window) features to perform auto login on external browsers. Check the official documentation for each OS for information on concepts such as how the dialog is displayed when using these features, the OS requirements for using these features, and how to disable these features.

For more information, see Auto login in the LINE Login documentation.

No. Single Sign On (SSO) login is running instead of auto login. For more information, see Single Sign On (SSO) Login.

The user ID used by the LINE Platform identifies a user and has the following characteristics:

  • The value is generated by the LINE Platform, not by a user. This is different from the LINE ID on LINE used to search for friends.

  • Different user IDs are generated based on the provider of the channel. As long as channels have the same provider, regardless of whether the channel is for LINE Login or Messaging API, the same user ID is used for the users of the channels.

  • The user ID value is a string that matches the regular expression, U[0-9a-f]{32}.

The group ID and room ID used for group chats are values generated by the LINE Platform to identify groups and rooms.

The group ID is a string that matches the regular expression, C[0-9a-f]{32}, and the room ID is a string that matches the regular expression, R[0-9a-f]{32}.

In a LINE Front-end Framework (LIFF) app, the one-on-one chat ID (utou ID) is used to identify a one-on-one chat in addition to the three types of IDs mentioned above.

The one-on-one chat ID value is a string that matches the regular expression, UU[0-9a-f]{130}.

The iPad that created the LINE account or the iPad that took over the LINE account can display rich menus.

Other iPads can't display rich menus.

You can check the LINE settings screen to see if your iPad can display rich menus.

  • If Delete Account appears in Settings > Accounts, the iPad can display rich menus.

  • If Logout appears in Settings > Accounts, the iPad can't display rich menus.

NLChannelGatewayErrorDomain errors (for example, NLChannelGatewayErrorDomain Error 102) can occur if there are incorrect or missing settings in the LINE Developers Console.

If your iOS application is getting this error, confirm the following items:

  • The iOS bundle ID is registered on the LINE Login tab of your channel settings on the LINE Developers Console
  • The iOS universal link is registered on the LINE Login tab of your channel settings on the LINE Developers Console
  • The LINE account that you are using to log in with is registered in the Roles section of the LINE Developers Console

General LINE SDK users cannot use restricted API resources such as Graph and User Message APIs. Currently those resources are LINE internal use only.

You can download the LINE SDK from the following links:

LINE uses Open Graph Protocol tags from websites to generate URL previews.

OGP tags used by LINE:

# Open Graph Protocol tag Example
1 og:title <meta property="og:title" content="LINE : Free Calls & Messages">
2 og:description <meta property="og:description" content="LINE is a new communication app">
3 og:image <meta property="og:image" content="http://static.naver.jp/line_lp/img/ogp.png">

Example of URL preview:

URL preview in chat

Note

Even if you don't configure OGP tags, any text or image within the URL will be automatically retrieved to generate a URL preview.

For example, for the Title, if there is no available information in og:title, the text within the title tag will be displayed. Likewise, for the Summary, if there is no available information in og:description, the text within either the description tag or the body will be displayed (If there is no retrievable information, nothing will be displayed in the preview).

Tip

A cache-deletion tool (opens new window) for deleting the LINE server side cache of your URL preview is now available.

You cannot save or forward videos sent from a LINE Official Account if you are using LINE for iOS. Only users of LINE for Android can download, forward, and save videos on Keep.

In Windows 10, you cannot use the curl command.

This page explains how to contact the REST API in PowerShell using Invoke-WebRequest.

# When a request body is required

When using an API that requires a request body, such as when creating LINE Things trial product information, enter the commands as shown below.

$channel_access_token = "{channel access token}"
$liffId = "{LIFF APP ID}"
$body = @{
 name = "{trial product name}";
 liffId = $liffId
} | ConvertTo-Json
$body = [System.Text.Encoding]::UTF8.GetBytes($body)
$response = Invoke-WebRequest -Method POST https://api.line.me/things/v1/trial/products `
-Headers @{
  "Authorization" = "Bearer " + $channel_access_token;
  "Content-Type" = "application/json"
} `
-Body $body
$response.Content

# When a request body is not required

When using an API that does not require a request body, such as when retrieving LINE Things trial product information, enter the commands as shown below.

$channel_access_token = "{channel access token}"
$response = Invoke-WebRequest -Method GET https://api.line.me/things/v1/trial/products `
-Headers @{
  "Authorization" = "Bearer " + $channel_access_token
} `
$response.Content

In Chats mode, click on a rich menu from the Rich Menu pane located on the bottom right to activate it.

There is currently no way of getting a user's phone number. However, we are planning to release phone scope which will let you ask users to grant permission for that information. We will make an announcement in the News section when that becomes available.