To delete the bot, you need to delete your LINE Official Account.
Can I delete the bot for my LINE Official Account?
How many channels can I create?
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:
If one developer already manages 100 Messaging API channels, you can't assign him/her a role for a channel created by another developer.
With LINE Official Account Manager, you can create up to 100 LINE Official Accounts per account.
Why can't I receive webhook events?
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.
Why does my LINE Official Account automatically send replies?
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.
How can I get the name and profile image of a group?
It's not currently possible to get the name and profile image of a group.
How do I report an issue about the LINE Platform?
You can submit a report here (opens new window). Please note that we cannot guarantee that we will reply to your message.
How does auto login work?
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.0 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.0 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.
LINE Login shows the "Log in with the following account" screen. Does this mean that auto login has failed?
No. Single Sign On (SSO) login is running instead of auto login. For more information, see Single Sign On (SSO) Login.
What are the user ID, group ID, room ID, and one-on-one chat ID values?
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}
.
Why do I get an NLChannelGatewayErrorDomain error when I try to use LINE Login in my application?
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
Can I get permissions to use restricted API resources such as Graph and User Message APIs?
General LINE SDK users cannot use restricted API resources such as Graph and User Message APIs. Currently those resources are LINE internal use only.
How do I download the LINE SDK?
You can download the LINE SDK from the following links:
- LINE SDK for iOS Objective-C: Downloads page
- LINE SDK for iOS Swift: LINE SDK for iOS Swift open-source repository (opens new window)
- LINE SDK for Android: LINE SDK for Android open-source repository (opens new window)
How are the URL previews in chats and on Timeline generated?
LINE uses Open Graph Protocol tags from websites to generate URL previews.
The three 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:
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).
LINE uses only the three OGP tags listed above. URL previews will not include information contained in any other OGP tags.
A cache-deletion tool (opens new window) for deleting the LINE server side cache of your URL preview is now available.
Why can't I save or forward videos that are sent from my LINE Official Account?
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.
I made a template message in Bot Designer but the link doesn't work.
Check if you have included "http://" or "https://" in the URL. The link must be in the same URL format as used on browsers.
Message actions will work normally when added to the chat in Chats mode.
The actual LINE chatbot only accepts URLs starting with "https://" in order to ensure security. LINE Bot Designer does not have this limitation in order to encourage the creation of any chatbot prototype.
How can I use the REST API in Windows 10?
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
How can I get a user's phone number?
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.