LINE DevelopersLINE Developers
About
News
Products
Documentation
FAQ
Glossary
More
 
[Resolved] Notice about service outage for LINE Login
2023/12/19

We'd like to inform you about a service outage regarding LINE Login. The issue has now been resolved.

We sincerely apologize for any inconvenience that this may have caused.

Date and time of outage

December 14, 2023 around 12:14 - December 15, 2023 around 21:10 (UTC+9)

Cause of the outage

Server failure

Impact

LINE Login services that use auto login

Details

LINE Login requests using the auto login feature couldn't be processed properly and LINE Login would fail in some cases.

Single Sign On (SSO) Login and Log in with email address or QR code weren't affected.

We will continue to improve the quality of its services to prevent future outages. Thank you for your understanding.

Outage ReportLINE Login

Previous post
Users can now access recently used LINE MINI Apps from the LINE Home tab
Next post
LINE SDK for Android v5.10.0 released
LINE SDK for Android v5.10.0 released
2023/12/14

We've released LINE SDK for Android v5.10.0. In this release, we've improved the method of generating and storing secret keys used for encryption and decryption of access tokens, etc. In addition, the use of insecure cryptographic methods has been restricted in order to strengthen the protection of user privacy.

As a result of these changes, users who have already logged in to an application that uses LINE Login will be prompted to log in again when LINE SDK for Android is upgraded to this version.

Release notes for LINE SDK for Android are available on the GitHub repository. For more information, see Release 5.10.0 in Releases.

LINE LoginLINE Login SDKAndroid

Previous post
[Resolved] Notice about service outage for LINE Login
Next post
LIFF URL for LINE MINI App has been changed
LIFF URL for LINE MINI App has been changed
2023/12/13

The LIFF URL of the LINE MINI App has been changed to the new domain name https://miniapp.line.me/{liffId}.

With this change, when sharing a permanent link of the LINE MINI App, users will be explicitly informed that it's the URL of the LINE MINI App.

The new domain name will be applied automatically on the LINE Platform side, so there's no need for the developers to work on it.

If the LIFF URL of the LINE MINI App created before the change is accessed, the LINE MINI App will also open. Therefore, you can continue to use the QR code that you've already issued.

Date of the change

December 13, 2023

Changes

The domain name of the LINE MINI App's LIFF URL has been changed. You can find the LIFF URL of your LINE MINI App by selecting the LINE MINI App channel in the LINE Developers Console and opening the LIFF tab.

Before changeAfter change (current)
https://liff.line.me/{liffId}https://miniapp.line.me/{liffId}

For more information on the LIFF URL of the LINE MINI App, see Creating permanent links in the LINE MINI App documentation.

LINE MINI AppLINE Developers Console

Previous post
LINE SDK for Android v5.10.0 released
Next post
Partial content of LINE Developers Community has been migrated to LINE Developers site
Partial content of LINE Developers Community has been migrated to LINE Developers site
2023/12/13

We've migrated the following contents from the LINE Developers Community site to the LINE Developers site.

  • Developers Community
    • LINE API Experts
    • Our Communities

Please note that the LINE Developers Community site will be closed on December 25, 2023. After the site closes, you'll no longer be able to view content (Q&A, etc.) other than the above content that has been transferred to this site.

From now on, we'll provide community information on the Developers Community page of the LINE Developers site.

We'll continue to improve the quality of the LINE Developers site and developer documentation to make it even easier for developers to develop services using the LINE Platform.

LINE PlatformDevelopers Community

Previous post
LIFF URL for LINE MINI App has been changed
Next post
[Resolved] Notice about service outage for some of the insight APIs
[Resolved] Notice about service outage for some of the insight APIs
2023/12/12

We'd like to inform you about a service outage regarding the Messaging API. The issue has now been resolved.

We sincerely apologize for any inconvenience that this may have caused.

Date and time of outage

December 12, 2023 around 17:15 - around 18:54 (UTC+9)

Cause of the outage

Server failure

Impact

  • Get number of messages sent this month
  • Get number of sent reply messages
  • Get number of sent push messages
  • Get number of sent multicast messages
  • Get number of sent broadcast messages
  • Get number of message deliveries
  • Get number of followers
  • Get friend demographics
  • Get user interaction statistics
  • Get statistics per unit

Details

During the stated date and time, some requests may not have been processed properly, resulting in an error with status code 5xx.

We will continue to improve the quality of its services to prevent future outages. Thank you for your understanding.

Outage ReportMessaging API

Previous post
Partial content of LINE Developers Community has been migrated to LINE Developers site
Next post
Messaging API maintenance notice
Messaging API maintenance notice
2023/12/12

Maintenance is scheduled for the Messaging API. We sincerely apologize for any inconvenience that this may cause and thank you for your understanding.

Date and time of maintenance

December 19, 2023 around 2:00 - around 3:00 (UTC+9)

Note that the end time of the maintenance may change without notice.

Impact

During the scheduled maintenance time, the following endpoints may cause an error response with HTTP status code 503:

  • Get number of followers
  • Get friend demographics
  • Get user interaction statistics
  • Get statistics per unit
Messaging APIMaintenance

Previous post
[Resolved] Notice about service outage for some of the insight APIs
Next post
We have started offering a chat screen ads feature that allows you to monetize your LINE Official Account
We have started offering a chat screen ads feature that allows you to monetize your LINE Official Account
2023/12/07

We have started offering a chat screen ads feature that allows you to monetize your LINE Official Account.

By using the chat screen ads feature, you can show ads in the chat rooms of the LINE Official Accounts that you provide, and earn a portion of the ad revenue generated based on ad impressions.

Ads are displayed at the top of the chat screen

For more information about how to use chat screen ads feature, see Chat screen ads (only available in Japanese) in LINE for Business.

LINE Official Account

Previous post
Messaging API maintenance notice
Next post
Notification regarding information leakage due to unauthorized access and its impact on LINE Developers
Notification regarding information leakage due to unauthorized access and its impact on LINE Developers
2023/12/05

As announced on November 27, 2023, LY Corporation has discovered that there has been unauthorized access of the company’s systems by a third party, leading to information leakage of users, business partners, employees and other personnel. We would like to inform users and relevant parties about the situation and sincerely apologize for any concerns or inconvenience caused.

For more information about this incident, see Notice and apology regarding information leakage due to unauthorized access in LY Corporation.

The Details of the impact of this incident mentioned in the above notice includes "Information related to LINE Developers." At this time, we have confirmed that certain provider names, provider’s internal identifiers, and the countries in which service are offered by providers have been leaked. However, we have not confirmed any leakage of information that could allow unauthorized contact with end users, except for the cases mentioned below.

We have already taken necessary actions such as access blocking regarding the unauthorized access, and there are currently no known incidents or impacts. We hope you will continue to use the LINE Developers site and products related to LINE Developers.

This news serves as a notification to the affected parties (developers) as stated in the "Information related to LINE Developers" section.

Regarding the following, we have already completed individual notifications and responses as exceptions mentioned above:

  • Regarding some LINE MINI Apps, we have confirmed the leakage of information that could allow unauthorized contact with the end users. We have already contacted the administrators of the affected LINE MINI Apps and the end users individually.
  • Regarding some Messaging API channels, we have confirmed the leakage of the channel secret. We have already contacted the administrators of the affected channels individually, and the invalidation of the corresponding channel secret has also been implemented.

For more information about the impact on LINE Official Accounts, see Notification regarding the impact of information leakage due to unauthorized access on LINE Official Accounts (only available in Japanese) in the LINE Official Account Manager.

Once again, we sincerely apologize to our users and all relevant parties for any inconvenience or concern caused. We deeply regret this incident and will make our best efforts to prevent any reoccurrence.

Outage ReportLINE PlatformMessaging APILIFFLINE MINI AppLINE Login

Previous post
We have started offering a chat screen ads feature that allows you to monetize your LINE Official Account
Next post
We've fixed a bug in LINE version 12.13.0 or later where liff.referrer wasn't added after a LIFF-to-LIFF transition
We've fixed a bug in LINE version 12.13.0 or later where liff.referrer wasn't added after a LIFF-to-LIFF transition
2023/11/30

In LINE version 12.13.0 or later, there was a bug where the LIFF browser didn't send the Referer request header during a LIFF-to-LIFF transition, and the liff.referrer query parameter wasn't added to the LIFF app URL after the transition.

We've fixed the bug in LINE version 13.20.0 so that the liff.referrer query parameter would be added to the LIFF app URL after the transition.

LIFFLINE MINI App

Previous post
Notification regarding information leakage due to unauthorized access and its impact on LINE Developers
Next post
LIFF v2.23.0 released
LIFF v2.23.0 released
2023/11/30

We've released LIFF v2.23.0.

In LIFF v2.23.0, we've made changes to the internal behavior of the LIFF SDK. There is no change in features.

How to update to LIFF v2.23.0

If you're using the CDN edge path (https://static.line-scdn.net/liff/edge/2/sdk.js), you'll automatically update LIFF to v2.23.0.

If you're using an npm package, you can update to v2.23.0 by executing either npm install @line/liff@2.23.0 or yarn add @line/liff@2.23.0.

For more information on integrating the LIFF SDK, see Integrating the LIFF SDK with the LIFF app in the LIFF documentation.

LIFFLINE MINI App

Previous post
We've fixed a bug in LINE version 12.13.0 or later where liff.referrer wasn't added after a LIFF-to-LIFF transition
Next post
We've discontinued the feature to pin LINE MINI Apps to the Home tab in the LINE app
We've discontinued the feature to pin LINE MINI Apps to the Home tab in the LINE app
2023/11/29

In the action button of LINE MINI Apps, we've removed the "Pin to Home tab/Unpin from Home tab" item. Users can still to access LINE MINI Apps that are already pinned to the Home tab in the LINE app.

If you've been informing users of your LINE MINI App to pin the LINE MINI App to the Home tab, please stop informing them.

Upcoming plans

In the future, we'll remove LINE MINI Apps that are already pinned to the Home tab. As an alternative to pinning to the Home tab, we plan to provide a feature that allows users to access recently used LINE MINI Apps from the Home tab.

We'll continue to work to further improve its service to our customers. Thank you for your understanding.

LINE MINI AppEnd of life

Previous post
LIFF v2.23.0 released
Next post
In LINE MINI Apps, the channel name is now displayed in push notifications for service messages
In LINE MINI Apps, the channel name is now displayed in push notifications for service messages
2023/11/16

When a service message is sent to a user from a LINE MINI App, the user will receive a push notification. These push notifications will now display the channel name of the LINE MINI App channel.

Previously, users couldn't see which LINE MINI App sent the service message just by looking at the push notification. With this change, users can now see which LINE MINI App sent the service message just by looking at the push notification.

Date of change

November 16, 2023

Changes

The content of the body of push notifications received by users when service messages are sent to them by LINE MINI Apps will change as follows. The content displayed in the icon and title will remain unchanged.

Before the changeAfter the change (current)
  • Title of the template selected on the Service message template tab
  • Channel name in the Basic settings tab
  • Title of the template selected on the Service message template tab

For more information on service messages, see Sending service messages in the LINE MINI App documentation.

LINE MINI AppAndroidiOS

Previous post
We've discontinued the feature to pin LINE MINI Apps to the Home tab in the LINE app
Next post
[Resolved/Updated] Notice of failure in some of the insight APIs
[Resolved/Updated] Notice of failure in some of the insight APIs
2023/11/02
Updated on November 9, 2023

We've updated the Date and time of outage and Details.

Updated on November 2, 2023

We've updated the Details.

We'd like to inform you about a service outage regarding the Messaging API. The issue has now been resolved.

We sincerely apologize for any inconvenience that this may have caused.

Date and time of outage

November 2, 2023 - November 8, 2023

Cause of the outage

Server failure

Impact

Get number of followers

Details

During the above period, the number of followers from November 1, 2023 to November 7, 2023 couldn't be retrieved.

Currently, you can retrieve the number of followers from November 1, 2023 to November 7, 2023. However, the number of followers for this period is the number at the time of the restoration work. The number of followers as of October 31, 2023 has also been affected due to the restoration work. For more information, see [Resolved/Updated] Notice about delay in data aggregation for followers (only available in Japanese) in the LINE Official Account Manager.

We'll continue to improve the quality of its services to prevent future outages. Thank you for your understanding.

Outage ReportMessaging API

Previous post
In LINE MINI Apps, the channel name is now displayed in push notifications for service messages
Next post
The header and footer of the LINE Developers Console have been redesigned
The header and footer of the LINE Developers Console have been redesigned
2023/11/01

As announced on May 17, 2023, the LINE Developers site has been redesigned. In this redesign on the LINE Developers Console, the header and footer now follow the design of the LINE Developers site.

Date of change

November 1, 2023

Changes

In this renewal, the header and footer of the LINE Developers Console have been redesigned. Screenshots before and after the changes are shown below:

Before the changeAfter the change (current)
Design before changeDesign after change

Notes

The LINE Developers Console has the feature to collapse the sidebar under the header when the web browser display area is narrow, as shown in the figure below. With this renewal, the sidebar may be collapsed even when it was previously displayed normally. This issue will be resolved in a future release.

Sidebar is collapsed

Until this fix is released, viewers can temporarily resolve the problem by doing the following:

  • Decrease the zoom level in the operating system.
  • Decrease the zoom level on the web browser.

If you encounter any problems with the LINE Developers Console, contact us using the feedback form in the footer.

LINE Developers Console

Previous post
[Resolved/Updated] Notice of failure in some of the insight APIs
Next post
We've discontinued providing LINE SDK for iOS Objective-C
We've discontinued providing LINE SDK for iOS Objective-C
2023/10/26

We've discontinued providing LINE SDK for iOS Objective-C as of October 26, 2023.

We've already finished updating LINE SDK for iOS Objective-C to v5.0 on 20 November 2018, and after providing sufficient time for the transition, we have now stopped providing the SDK itself and its documentation.

When developing an iOS app that uses LINE Login, please use LINE SDK for iOS Swift from now on.

We'll continue to improve the quality of the LINE Developers site and developer documentation to make it even easier for developers to develop services using the LINE Login.

LINE LoginLINE Login SDKLife cycleEnd of lifeDocs

Previous post
The header and footer of the LINE Developers Console have been redesigned
Next post
[Resolved] Notice about service outage of the LINE MINI App
[Resolved] Notice about service outage of the LINE MINI App
2023/10/25

We'd like to inform you about a service outage regarding the LINE MINI App. The issue has now been resolved. We sincerely apologize for any inconvenience that this may have caused.

Date and time of outage

October 24, 2023 around 13:51 - around 14:10 (UTC+9)

Impact

LINE MINI App

Details

Some requests to the following endpoints weren't processed properly, resulting in errors with status code 5xx.

  • Issuing a service notification token
  • Sending service messages

We'll continue to improve the quality of its services to prevent future outages. Thank you for your understanding.

Outage ReportLINE MINI App

Previous post
We've discontinued providing LINE SDK for iOS Objective-C
Next post
LIFF v2.22.4 released
LIFF v2.22.4 released
2023/10/02

We've released LIFF v2.22.4.

In LIFF v2.22.4, we've made changes to the internal behavior of the LIFF SDK. We've also made the following change and fix.

Due to the intra-group reorganization, we've changed the company name and copyright of the LIFF SDK and open source projects

As announced on October 2, 2023, due to the intra-group reorganization, LINE Corporation became LY Corporation. With this, we've changed the company name and copyright of the LIFF SDK and the following open source projects:

  • LIFF starter app
  • LIFF Playground
  • Create LIFF App
  • LIFF Inspector
  • LIFF Mock

We've fixed a bug where an error might not be returned correctly when the liff.permission.requestAll() method failed to execute

There was a bug where an error might not be returned correctly when the liff.permission.requestAll() method failed to execute. This bug was fixed in LIFF v2.22.4 so that an error would be returned correctly.

How to update to LIFF v2.22.4

If you're using the CDN edge path (https://static.line-scdn.net/liff/edge/2/sdk.js), you'll automatically update LIFF to v2.22.4.

If you're using an npm package, you can update to v2.22.4 by executing either npm install @line/liff@2.22.4 or yarn add @line/liff@2.22.4.

For more information on integrating the LIFF SDK, see Integrating the LIFF SDK with the LIFF app in the LIFF documentation.

LIFFLINE MINI App

Previous post
[Resolved] Notice about service outage of the LINE MINI App
Next post
Due to the intra-group reorganization, we became LY Corporation
Due to the intra-group reorganization, we became LY Corporation
2023/10/02

Thank you very much for always using the LINE Platform and the LINE Developers site.

LINE Corporation ("LINE") underwent an intra-group reorganization, effective as of October 1, 2023, centered around Z Holdings Corporation ("ZHD") with the aim of establishing a more product-centric organizational structure and expediting the expansion of synergies through management integration. Subsequent to this, ZHD has been renamed "LY Corporation".

The reorganization took the form of an absorption-type company split, with ZHD as the succeeding company. As a result, ZHD (currently LY Corporation) succeeded to, or assumed, all of the rights and obligations except for certain shares in overseas companies held and managed by LINE. For more information on the reorganization, see the IR News (PDF).

The LINE Developers site will continue to be operated as a place to provide documentation related to the LINE Platform, and the URL won't change.

We will work hard to develop our services under the new structure and would really appreciate your continued use of the LINE Platform.

LINE PlatformLINE Developers site

Previous post
LIFF v2.22.4 released
Next post
You can now apply for permission to create LINE MINI Apps that will be provided in Taiwan
You can now apply for permission to create LINE MINI Apps that will be provided in Taiwan
2023/09/28

The contact details for applying for permission to create LINE MINI Apps that will be provided in Taiwan are now available. Anyone who is a permitted customer in the LINE MINI App Policy can now apply for permission to create LINE MINI Apps that will be provided in Taiwan. At this stage, application slots are limited. Please note that your application may not be approved.

For more information, see LINE MINI App台灣正式開放申請 輕量化官網幫助店家打通線上線下服務 in LINE Taiwan Press Releases.

LINE MINI App

Previous post
Due to the intra-group reorganization, we became LY Corporation
Next post
Notice Concerning Use of Information in Connection with Group Restructuring (LINE MINI App)
Notice Concerning Use of Information in Connection with Group Restructuring (LINE MINI App)
2023/09/21

Thank you very much for always using the LINE MINI App.

With the aim of further expanding our business domain and maximizing our corporate value, we, LINE Corporation, together with Yahoo Japan Corporation and several other companies, will carry out an intra-group reorganization (hereinafter referred to as the "Reorganization") in which Z Holdings Corporation will be the surviving company on October 1, 2023, and the new company will be established as LY Corporation after the Reorganization.

Accordingly, as of the same date, LY Corporation will continue to use the information pertaining to the "Agreement Regarding Use of Information" (hereinafter referred to as the "Consent") as previously agreed to by you when you created a LINE MINI App channel, to the extent previously agreed to by you ("LINE Corporation" in the Consent shall be read as "LY Corporation").

If you continue to use the LINE MINI App after that date, you will be deemed to have agreed to the aforementioned handling of information.

In addition, some changes will be made to the LINE MINI App Platform Terms of Use on the same date. Such changes include change of the company name and title of the privacy policy in association to the Reorganization, as well as change of the article regarding revision of the terms of use. For details on the changes, please review the new LINE MINI App Platform Terms of Use.

We will work hard to develop our services under the new structure and would really appreciate your continued use of the LINE MINI App.

LINE MINI App

Previous post
You can now apply for permission to create LINE MINI Apps that will be provided in Taiwan
Next post
Notice Concerning Use of Information in Connection with Group Restructuring (share target picker)
Notice Concerning Use of Information in Connection with Group Restructuring (share target picker)
2023/09/21

Thank you very much for always using the share target picker (liff.shareTargetPicker()) of LINE Front-end Framework (LIFF).

With the aim of further expanding our business domain and maximizing our corporate value, we, LINE Corporation, together with Yahoo Japan Corporation and several other companies, will carry out an intra-group reorganization (hereinafter referred to as the "Reorganization") in which Z Holdings Corporation will be the surviving company on October 1, 2023, and the new company will be established as LY Corporation after the Reorganization.

Accordingly, as of the same date, LY Corporation will continue to use the information pertaining to the "Agreement Regarding Use of Information" (hereinafter referred to as the "Consent") as previously agreed to by you when enabling the share target picker, to the extent previously agreed to by you ("LINE Corporation" in the Consent shall be read as "LY Corporation").

If you continue to use the the share target picker after that date, you will be deemed to have agreed to the aforementioned handling of information.

We will work hard to develop our services under the new structure and would really appreciate your continued use of the LINE Platform.

LIFFLINE MINI App

Previous post
Notice Concerning Use of Information in Connection with Group Restructuring (LINE MINI App)
Next post
You can now send and receive quote messages using the Messaging API
You can now send and receive quote messages using the Messaging API
2023/09/14

You can now send quote messages from your LINE Official Account and receive quote messages sent by users via webhook.

  • Send quote messages from your LINE Official Account
  • Receive quote messages via webhook
  • Get quote tokens

Send quote messages from your LINE Official Account

When sending reply messages or push messages, you can quote past messages.

To send a message quoting a past message, specify the quote token (quoteToken) of the message to be quoted.

Example of a push message request quoting a past message

sh
curl -v -X POST https://api.line.me/v2/bot/message/push \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer {channel access token}' \
-d '{
  "to": "U4af4980629...",
  "messages": [
    {
      "type": "text",
      "text": "Yes, you can.",
      "quoteToken": "yHAz4Ua2wx7..." // Specify the quote token of the message to be quoted
    }
  ]
}'

For more information, see Send quote messages in the Messaging API documentation.

Receive quote messages via webhook

You can receive quote messages sent by users via webhook.

When a user sends a message quoting a past message, you can check the ID of the quoted message with the quotedMessageId property included in the message property of the webhook.

json
"message": {
  "type": "text",
  "id": "468789577898262530", // ID of the received message
  "quotedMessageId": "468789532432007169", // ID of the quoted message
  "quoteToken": "q3Plxr4AgKd...",
  "text": "Chicken, please." // Text of the received message
}

For more information, see Receive quote messages sent by users via webhook in the Messaging API documentation.

Get quote tokens

You can get the quote token (quoteToken) required to send a message quoting a past message in the webhook or in the response when sending a message.

For more information, see Get quote tokens in the Messaging API documentation.

Messaging API

Previous post
Notice Concerning Use of Information in Connection with Group Restructuring (share target picker)
Next post
[Resolved/Updated] Notice about service outage for some of the insight's APIs
[Resolved/Updated] Notice about service outage for some of the insight's APIs
2023/09/07
Updated on September 21, 2023

We've updated the Date and time of outage and Details.

We'd like to inform you about a service outage regarding the Messaging API. The issue has now been resolved. We sincerely apologize for any inconvenience that this may have caused.

Date and time of outage

September 6, 2023 - September 21, 2023

Cause of the outage

Server failure

Impact

  • Get number of followers

Details

In some LINE Official Accounts, when you retrieve the number of followers with the specification of September 5, 2023, the followers, targetedReaches and blocks were all set to 0 as shown below. The issue has now been resolved and the correct number of followers can be obtained.

json
{
  "status": "ready",
  "followers": 0,
  "targetedReaches": 0,
  "blocks": 0
}

We'll continue to improve the quality of its services to prevent future outages. Thank you for your understanding.

Outage ReportMessaging API

Previous post
You can now send and receive quote messages using the Messaging API
Next post
The names of "Bot link feature" and "Linked OA" have been changed in the LINE Developers Console
The names of "Bot link feature" and "Linked OA" have been changed in the LINE Developers Console
2023/09/06

We've changed the names of features in the LINE Developers Console.

Changes

The names of the Bot link feature and the Linked OA have been changed.

Before changeAfter change (current)Target channelTab
Bot link featureAdd friend option
  • LINE Login
  • LINE MINI App
LIFF tab
Linked OALinked LINE Official Account
  • LINE Login
  • Blockchain Service
  • LINE MINI App
Basic settings tab

Due to the name change, we've changed the location of the Linked LINE Official Account. The "Add friend option" section has been added to the Basic settings tab and moved within that section.

The add friend option section is located between the localization section and the OpenID Connect section.

Impact of the name change

The name change has no effect on the feature or operation.

For more information about the add friend option, see the following documentation:

  • Add a LINE Official Account as a friend when logged in (add friend option)
  • Adding the LIFF app to your channel
  • Add the LINE Official Account as a friend when you first open the LINE MINI App (add friend option)
LINE LoginLIFFLINE MINI AppLINE Developers ConsoleLINE Blockchain Platform

Previous post
[Resolved/Updated] Notice about service outage for some of the insight's APIs
Next post
[Resolved] Notice of failure in some of the insight's APIs
[Resolved] Notice of failure in some of the insight's APIs
2023/09/04
Updated on September 5, 2023

We've updated the Date and time of outage and Details.

We'd like to inform you about a service outage regarding the Messaging API. The issue has now been resolved. We sincerely apologize for any inconvenience that this may have caused.

Date and time of outage

September 2, 2023 - September 4, 2023

Cause of the outage

Server failure

Impact

  • Get number of followers

Details

During the above period, the number of followers from September 1, 2023 to September 3, 2023 couldn't be retrieved due to the time required for counting.

Currently, you can retrieve the number of followers from September 1, 2023 to September 3, 2023, but the number of followers for this period is the number at the time of the restoration work. For more information, see [Resolved/Updated] Notice about delay in data aggregation for followers (only available in Japanese) in LINE Official Account Manager.

We'll continue to improve the quality of its services to prevent future outages. Thank you for your understanding.

Outage ReportMessaging API

Previous post
The names of "Bot link feature" and "Linked OA" have been changed in the LINE Developers Console
Next post
Stateless channel access token released
Stateless channel access token released
2023/08/31

We've released stateless channel access tokens. Stateless channel access tokens are channel access tokens that are only valid for 15 minutes. There is no limit to the number of stateless channel access tokens that can be issued.

The previously available channel access tokens could only be issued for a maximum of 30 per channel. Stateless channel access tokens can be issued in unlimited numbers, allowing for more flexible system design.

For more information about issuing stateless access tokens, see Issue stateless channel access token in the Messaging API reference.

We've created a new category of documentation

In conjunction with this release, a new category of documentation, LINE Platform basics has been created and Channel access token is now available. In this category, we'll continue to add pages where you can learn the basics of using the features of the LINE Platform.

Types of channel access tokens

There are four types of channel access tokens. These channel access tokens vary in validity period and the number of tokens that can be issued per channel.

TypeValidity periodNumber of issues per channel
Channel access token with a user-specified expirationUp to 30 days30
Stateless channel access token15 minutesLimitless
Short-lived channel access token30 days30
Long-lived channel access tokenIndefinite1

The types of channel access tokens that you can use vary by product and feature. See the documentation of each product to find out which channel access tokens can be used with each product.

The channel access token recommended for use when sending service messages changes

Previously, only short-lived channel access tokens could be used to send service messages in LINE MINI Apps. Short-lived channel access tokens can still be used in the future, we recommend that you use stateless channel access tokens after this release. Stateless channel access tokens have an unlimited number of issuances, so there is no need for the application to manage the token lifecycle.

For more information, see Sending service messages in the LINE MINI App documentation.

LINE PlatformMessaging APILIFFLINE MINI AppDocs

Previous post
[Resolved] Notice of failure in some of the insight's APIs
Next post
LIFF v2.22.3 released
LIFF v2.22.3 released
2023/08/24

We've released LIFF v2.22.3.

In LIFF v2.22.3, we've made changes to the internal behavior of the LIFF SDK. There is no change in features.

How to update to LIFF v2.22.3

If you're using the CDN edge path (https://static.line-scdn.net/liff/edge/2/sdk.js), you'll automatically update LIFF to v2.22.3.

If you're using an npm package, you can update to v2.22.3 by executing either npm install @line/liff@2.22.3 or yarn add @line/liff@2.22.3.

For more information on integrating the LIFF SDK, see Integrating the LIFF SDK with the LIFF app in the LIFF documentation.

LIFFLINE MINI App

Previous post
Stateless channel access token released
Next post
We've added several documents to the Messaging API documentation to help you troubleshoot webhook issues
We've added several documents to the Messaging API documentation to help you troubleshoot webhook issues
2023/08/14

We've added several documents related to webhooks to the Messaging API documentation.

  • Verify webhook URL
  • Check webhook error causes and statistics
  • SSL/TLS specification of the webhook source

These documents will help developers quickly identify and troubleshoot webhook issues as they arise.

Background on adding the documents

If the user adds your LINE Official Account as a friend or sends a message to your LINE Official Account, the LINE Platform sends a webhook event to the URL (bot server) specified in the LINE Developers Console Webhook URL.

We've received feedback from developers that they have difficulty identifying the cause of problems when a webhook isn't properly received by the bot server.

The newly added documents include instructions on how to verify webhook URL and how to check webhook error causes and statistics.

In addition, SSL/TLS specification of the webhook source is also available. This allows you to go a step further and investigate if there is a matching cipher suite between the webhook source and the bot server, in cases such as "the bot server has an appropriate SSL/TLS certificate and the protocol version is TLS 1.2, but for some reason the bot server can't receive the webhook".

We'll continue to improve the quality of the LINE Developers site and developer documentation to make it even easier for developers to develop services using the Messaging API.

DocsMessaging APISSL/TLS

Previous post
LIFF v2.22.3 released
Next post
Early September 2023, the response when you send a message using the Messaging API will change
Early September 2023, the response when you send a message using the Messaging API will change
2023/07/31

In early September 2023, we'll change the response when you send a reply or push message using the Messaging API.

Scheduled date of change

Early September 2023

The details and date of this specification change are subject to change without notice.

Changes

Currently, with the Messaging API, when you request to send a reply or push message, an empty JSON object is returned as the response on success.

Before change (current)

json
{}

After the specification change, a JSON object containing the sentMessages property will be returned. However, depending on the message object sent, sentMessages[].quoteToken may not be included.

After change

json
{
  "sentMessages": [
    {
      "id": "461230966842064897",
      "quoteToken": "IStG5h1Tz7bsH6xinEQtKQ9IdtcN5wLE15-LwtIDCEYAqDkV741O-XkOhZo1GYxw2UCURKnpHujpZuZaBaeQZVOVpKiaEeAz1Ye3-3ZYbPQVjuXZ4x8ZpISG7WhJDCE8o-hhHh8uMBRyp3b0L_Cxlg"
    }
  ]
}

Impact

  • Send reply message
  • Send push message

Important points about the specification change

After the specification change, implement your requester to successfully receive JSON objects with the new structure.

As with this specification change, the structure of the JSON object in the response may change in the future when the Messaging API feature is updated. Such changes may include adding properties, changing the order of properties, adding or deleting spaces and newlines between data elements, and so on.

LINE will continue to work to further improve its service to our customers. Thank you for your understanding.

Messaging API

Previous post
We've added several documents to the Messaging API documentation to help you troubleshoot webhook issues
Next post
Default setting of require two-factor authentication when creating a channel has been changed to on
Default setting of require two-factor authentication when creating a channel has been changed to on
2023/07/26

When creating a LINE Login channel and a Blockchain Service channel on the LINE Developers Console, the default setting of Require two-factor authentication has been changed to on.

Date of change

July 26, 2023

Details of the change

On June 28th, 2023, we've added a function to LINE Login that allows service providers to require two-factor authentication.

You can set to require two-factor authentication when creating a LINE Login channel and a Blockchain Service channel, and when editing an existing channel on the LINE Developers Console.

The default setting of Require two-factor authentication when creating a channel was "off", but will now be "on".

If two-factor authentication isn't required, you can turn off with a toggle switch.

Existing channel settings won't be affected by this change.

Require two-factor authentication setting on the LINE Developers Console

If you set LINE Login to require two-factor authentication, users will be required to authenticate with two-factor authentication when they log in to that channel. By using two-factor authentication, you're more likely to reduce the risk of unauthorized logins, such as list-based attacks.

From a user protection perspective, we recommend that you require two-factor authentication. However, please note that this may cause restrictions for users, such as requiring a smartphone with the LINE app installed.

For more information on setting to require two-factor authentication, see Require two-factor authentication in the LINE Login documentation.

LINE LoginLINE Developers Console

Previous post
Early September 2023, the response when you send a message using the Messaging API will change
Next post
LINE OpenAPI released
LINE OpenAPI released
2023/07/05

The LINE OpenAPI GitHub repository is now available. LINE OpenAPI is a set of API interfaces provided by the LINE Platform, such as the Messaging API and LIFF server API, defined according to the OpenAPI specification.

  • LINE OpenAPI

By using LINE OpenAPI, developers can quickly take advantage of new features as they are added to the APIs provided by the LINE Platform through the SDK. Also, by using code generators such as OpenAPI Generator and Swagger Codegen, developers will be able to easily use the features provided by the LINE Platform even in languages for which no SDK is provided.

List of provided interfaces

LINE OpenAPI currently provides the following interfaces. For more information about the provided interfaces, see README.

  • Messaging API
  • Audience Group API
  • Insight API
  • Mission Stickers API
  • LIFF API
  • Channel Access Token API

Changes with the release of LINE OpenAPI

Each version of the LINE Messaging API SDKs listed in the table below has been rewritten based on LINE OpenAPI and is not compatible with previous versions. For more information on SDKs for other languages, see the GitHub repository for each language.

LINE Messaging API SDKVersion
LINE Messaging API SDK for Java7.0.0
LINE Messaging API SDK for PHP8.0.0
LINE Messaging API SDK for Python3.0.0

Example of LINE OpenAPI usage

The API platform Postman has a feature to import definition files according to the OpenAPI specification and automatically generate collections. Using this feature, you can try out LINE's API on Postman's interface.

For more information on Postman and OpenAPI integration, see OpenAPI in the Postman Learning Center.

Functionality isn't guaranteed

We don't guarantee that importing LINE OpenAPI into Postman will work correctly.

LINE PlatformMessaging APILIFF

Previous post
Default setting of require two-factor authentication when creating a channel has been changed to on
Next post
Flex Message Update 4 released
Flex Message Update 4 released
2023/07/04

We've released Flex Message Update 4.

The features have been added in Flex Message Update 4 and the target version are as follows:

  • New bubble sizes added
  • Font size and icon size can now be automatically scaled according to the font size setting
  • Flex Message Simulator now supports Update 4 partially
  • Target version

New bubble sizes added

The deca and hecto values in the size property have been added to the bubble. The size of bubble specified by the size property is larger in the following order: nano, micro, deca, hecto, kilo, mega, and giga.

For more information, see Bubble in the Messaging API reference.

Font size and icon size can now be automatically scaled according to the font size setting

The scaling property is now available on Button, Text, and Icon. If you set the scaling property to true, you can automatically scale the font size and icon size according to the font size setting of the LINE app. This allows you to send messages with accessibility in mind.

Example of font size SmallExample of font size Extra large
Example of font size SmallExample of font size Extra large

For more information, see Scaling to size according to the font size setting in the Messaging API documentation.

Flex Message Simulator now supports Update 4 partially

Flex Message Simulator now supports bubble sizes added in Flex Message Update 4. The scaling property isn't currently supported. We plan to provide support for this property in the future.

Using Flex Message Simulator, you can easily generate JSON data for flex messages and check the layouts. You can also send a test message and check the actual appearance on your LINE app.

Restrictions

Flex Message Simulator doesn't make any guarantees about the layout of a flex message. A flex message's appearance may vary from one device to the next. In addition to the LINE version being used, a device's operating system, resolution, language settings, and fonts may affect how messages are rendered.

Target version

The target LINE versions for which specification changes have been made are as follows:

OSTarget version
LINE for iOS and Android13.6.0 or later
LINE for macOS and Windows7.17.0 or later
Messaging APIFlex Message

Previous post
LINE OpenAPI released
Next post
In the Messaging API, you can now replace or unlink the rich menu linked to the users in batches
In the Messaging API, you can now replace or unlink the rich menu linked to the users in batches
2023/07/04

In the Messaging API, we've added endpoints to replace or unlink the rich menu linked to the users in batches.

  • Endpoint to replace or unlink the linked rich menus in batches
  • Endpoint to get the status of batch control the rich menus
  • Endpoint to validate the request of batch control the rich menus
  • To safely retry replacing the rich menus

Endpoint to replace or unlink the linked rich menus in batches

You can use this endpoint to batch control the rich menu linked to the user using the endpoint such as Link rich menu to user. The following operations are available:

  1. Replace a rich menu with another rich menu for all users linked to a specific rich menu
  2. Unlink a rich menu for all users linked to a specific rich menu
  3. Unlink a rich menu for all users linked to the rich menu

Previously, to replace or unlink a rich menu linked to a user, you needed to know all of the user ID that is subject to change. By using this endpoint, you can replace or unlink the linked rich menu without specifying the user ID.

A request to this endpoint is processed asynchronously in the background. You can check the status of the process by using the Endpoint to get the status of batch control the rich menus.

Note that multiple rich menu operations can be specified in a single request. When multiple rich menu operations are specified, each operation in the rich menu is executed in parallel, one for each user.

For more information, see Replace or unlink the linked rich menus in batches in the Messaging API reference.

Endpoint to get the status of batch control the rich menus

You can use this endpoint to get the status of replacing or unlinking the rich menu linked to the user.

The progress status can be obtained within less than the past 14 days (336 hours) from the time the request for batch control of the rich menu is accepted.

For more information, see Get the status of rich menu batch control in the Messaging API reference.

Endpoint to validate the request of batch control the rich menus

You can use this endpoint to validate the request body for the endpoint to replace or unlink the linked rich menus in batches.

By using this endpoint, you can verify in advance whether a request is an error or not.

For more information, see Validate a request of rich menu batch control in the Messaging API reference.

To safely retry replacing the rich menus

The process of batch control the rich menu is executed asynchronously for each user. Therefore, if the process has failed for some users and you retry with the same request body, the rich menu may be unintentionally replaced.

For example, suppose you replace the rich menu linked to the user as follows:

  1. Replace the rich menu of all users linked to richmenu ID A with richmenu ID B
  2. Replace the rich menu of all users linked to richmenu ID B with richmenu ID A

An example of a request in this case is as follows:

sh
curl -v -X POST https://api.line.me/v2/bot/richmenu/batch \
-H "Authorization: Bearer {channel access token}" \
-H "Content-Type: application/json" \
-d '{
  "operations": [
    {
      "type": "link",
      "from": "{richmenu ID A}",
      "to": "{richmenu ID B}"
    },
    {
      "type": "link",
      "from": "{richmenu ID B}",
      "to": "{richmenu ID A}"
    }
  ]
}'

You can get whether this request was successfully processed or not by using the Endpoint to get the status of batch control the rich menus.

If the progress is retrieved and the process has failed, suppose you retry with the above request. At this time, the user's rich menu, which was replaced from richmenu ID B to richmenu ID A on the first request, is replaced back to richmenu ID B.

Therefore, we recommend that you specify the resumeRequestKey property, which is a retry key, when replacing or unlinking the rich menu in batches. The following is an example of a request with the resumeRequestKey property:

sh
curl -v -X POST https://api.line.me/v2/bot/richmenu/batch \
-H "Authorization: Bearer {channel access token}" \
-H "Content-Type: application/json" \
-d '{
  "operations": [
    {
      "type": "link",
      "from": "{richmenu ID A}",
      "to": "{richmenu ID B}"
    },
    {
      "type": "link",
      "from": "{richmenu ID B}",
      "to": "{richmenu ID A}"
    }
  ],
  "resumeRequestKey":"{an arbitrary key}"
}'

If you specify an arbitrary key in the resumeRequestKey property on your first request, sending the request again with the same key will only resume processing for the user who hasn't completed processing. By using the resumeRequestKey property, you can safely retry.

The resumeRequestKey property expires in 14 days (336 hours). If the expiration date is exceeded, the request will be treated as a new request.

Messaging APIRich menu

Previous post
Flex Message Update 4 released
Next post
[Updated] Service providers can now require two-factor authentication for LINE Login
[Updated] Service providers can now require two-factor authentication for LINE Login
2023/06/28
Added on June 29, 2023

There was an error in the explanation of the IP address change. We've corrected the mistake and apologize for any inconvenience caused by this error.

Incorrect: If the IP address changes, the user is prompted to enter the verification code.

Correct: If the IP address changes, the user is not prompted to enter the verification code.

We have added a function to LINE Login that allows service providers to require two-factor authentication (2FA).

If you set a LINE Login channel to require two-factor authentication, users will be required to authenticate with two-factor authentication when they log in to that channel. By using two-factor authentication, you're more likely to reduce the risk of unauthorized logins, such as list-based attacks.

From a user protection perspective, we recommend that you require two-factor authentication. However, please note that this may cause restrictions for users, such as requiring a smartphone with the LINE app installed.

Default setting is scheduled to be changed in late July 2023

Currently, the default setting of Require two-factor authentication when creating a new channel is "OFF".

In late July 2023, we plan to change the default setting to "ON" when creating a new channel. If two-factor authentication is not required, you can turn off with a toggle switch.

  • What is two-factor authentication?
  • Require two-factor authentication setting on the LINE Developers Console
  • Priority with the Two-factor Authentication Switch function

What is two-factor authentication?

Two-factor authentication is a method to authenticate a user using two elements: knowledge known only to the user (such as a password), the user's property (such as an IC card or a smartphone), and biometric information (such as a fingerprint or a face). Two-factor authentication increases the possibility of preventing unauthorized logins even if a password is known to a third party.

LINE Login performs two-factor authentication by password authentication for the LINE account and entering the verification code displayed on the screen into the smartphone's LINE screen.

If the user logs in to the service for the first time, or if the device or browser changes, the user is prompted to enter the verification code after entering the password.

If the IP address changes, the user is not prompted to enter the verification code.

The flow of two-factor authentication

Unless the user switch accounts or delete browser's cookies, they'll remain trusted for 365 days and they won't be asked to enter a verification code.

Also, if they're already logged in with the same browser, two-factor authentication will be skipped.

LINE Login v2.1 is recommended

Two-factor authentication is available with LINE Login v2.1. If you use LINE Login v1.0 (end-of-life) or LINE Login v2.0 (deprecated), we recommend updating to LINE Login v2.1.

For more information about the differences between the versions, see LINE Login versions in LINE Login documentation.

Require two-factor authentication setting on the LINE Developers Console

You can set to require two-factor authentication when creating a new channel and when editing an existing channel on the LINE Developers Console.

  • When creating a new channel, you can enable the setting by turning the Require two-factor authentication toggle switch to "ON" (right). The default setting is off.
  • When editing an existing channel, you can turn on/off the Require two-factor authentication setting. Only members with the Admin role for the channel can edit the setting. In the case of the Member role, the setting field is not displayed when editing the channel.

2FA Setting

Priority with the Two-factor Authentication Switch function

On April 26, 2022, the Two-factor Authentication Switch function of the LINE app was released. This is a feature that provides two-factor authentication when logging into services that use LINE Login v2.1 if the toggle switch for Home > Settings > Accounts > Two-factor authentication is "ON" (right) on the user's device.

Requiring two-factor authentication in a channel overrides the user's device setting. In other words, if you enable Require two-factor authentication on a channel, the users will be required to authenticate with two-factor authentication even if the Two-factor Authentication Switch is turned off on the user's device.

The relationship between the Two-factor Authentication Switch on the user's device and the channel setting is as follows:

Setting on the user's device
OFF
Setting on the user's device
ON
Channel setting
OFF
Two-factor authentication is disabledTwo-factor authentication is enabled
Channel setting
ON
Two-factor authentication is enabledTwo-factor authentication is enabled

For more information on setting to require two-factor authentication, see Require two-factor authentication in the LINE Login overview.

LINE LoginLINE Developers Console

Previous post
In the Messaging API, you can now replace or unlink the rich menu linked to the users in batches
Next post
LIFF v2.22.2 released
LIFF v2.22.2 released
2023/06/27

We've released LIFF v2.22.2.

In LIFF v2.22.2, we've made the following improvements and a bug fix.

We've improved the auto login process on external browsers on Android

As announced on July 6, 2022, starting with LIFF v2.20.3, an alert was displayed after auto login as a temporary measure to solve a bug that auto login on external browsers on Android didn't work properly.

On LINE for Android version 13.10.0, the auto login process on external browsers will be improved, so that the temporary measure is no longer required. As a result, the alert displayed after auto login will no longer be displayed in LIFF v2.22.2 or later.

Note that even if the LIFF SDK version of your LIFF app is v2.22.2 or later, the alert will continue to be displayed if the user's version of LINE for Android is earlier than 13.10.0.

LIFF v2.20.3 - v2.22.1 LIFF v2.22.2 or later
LINE for Android version earlier than 13.10.0 Display the alert Display the alert
LINE for Android version 13.10.0 or later Display the alert Not display the alert

The LIFF SDK npm package can now be imported in non-browser environments

The LIFF SDK npm package can now be imported in non-browser environments such as Node.js.

We've fixed a bug where an invalid URL would be opened after login when executing the liff.login() method with a URL with no query parameter specified in the redirectUri property on external browsers on Android

On external browsers on Android, when executing the liff.login() method with a URL with no query parameter specified in the redirectUri property, an invalid URL was opened after login.

This bug was fixed in LIFF v2.22.2 so that the correct URL would be opened after login.

Example of a URL specified in the redirectUri property https://example.com/path
Example of an invalid URL opened after login https://example.com/path&liffIsEscapedFromApp=true
Example of the correct URL after login https://example.com/path?liffIsEscapedFromApp=true

How to update to LIFF v2.22.2

If you're using the CDN edge path (https://static.line-scdn.net/liff/edge/2/sdk.js), you'll automatically update LIFF to v2.22.2.

If you're using an npm package, you can update to v2.22.2 by executing either npm install @line/liff@2.22.2 or yarn add @line/liff@2.22.2.

For more information on integrating the LIFF SDK, see Integrating the LIFF SDK with the LIFF app in the LIFF documentation.

LIFFLINE MINI App

Previous post
[Updated] Service providers can now require two-factor authentication for LINE Login
Next post
We'll modify the aggregation logic of the LINE Official Accounts insight
We'll modify the aggregation logic of the LINE Official Accounts insight
2023/06/26

We'll modify the aggregation logic of the LINE Official Accounts insight. This modification will affect the values that can be retrieved from the Insight endpoints of the Messaging API.

Scheduled date of modification

July 10, 2023 - July 28, 2023

The change will be applied to each LINE Official Account on one of the above dates. Values aggregated prior to the modification date won't be affected by this modification.

The content and date of this modification may be subject to change.

Impact

The change in aggregation logic will affect a value of blocks (the number of users blocking the LINE Official Account) that can be retrieved from the following endpoint:

  • Get number of followers

For more information, see [Notice] Modification of Aggregation Logic of Insight (only available in Japanese) in LINE Official Account Manager.

Messaging APILINE Official Account

Previous post
LIFF v2.22.2 released
Next post
Messaging API maintenance notice
Messaging API maintenance notice
2023/06/02

Maintenance is scheduled for the Messaging API. We sincerely apologize for any inconvenience that this may cause and thank you for your understanding.

Date and time of maintenance

June 8, 2023 13:30 - 14:00 (UTC+9)

Note that the end time of the maintenance may change without notice.

Impact

For a few seconds during the scheduled maintenance time, this endpoint may cause an error response with HTTP status code 500.

  • Get user interaction statistics
Messaging APIMaintenance

Previous post
We'll modify the aggregation logic of the LINE Official Accounts insight
Next post
LINE Official Account subscription plans have been revised as of June 1, 2023
LINE Official Account subscription plans have been revised as of June 1, 2023
2023/06/02

As announced on October 31, 2022 and April 12, 2023, we've revised the LINE Official Account subscription plans as of June 1, 2023. In this revision, the pricing for each plan remain unchanged, but the number of messages that can be sent for free has been changed. The revised plans apply to Japan only.

For more information about the revision of LINE Official Account subscription plans, see Important: LINE Official Account new plan structure and end of prorated billing (only available in Japanese) in LINE for Business.

Messaging API

Previous post
Messaging API maintenance notice
Next post
You can now use audiences created with the Messaging API for step messages
You can now use audiences created with the Messaging API for step messages
2023/05/29

You can now use audiences created with the Messaging API for step messages in the LINE Official Account Manager.

Step messages in LINE Official Account Manager is a feature that allows you to send multiple messages based on the number of days elapsed since your LINE Official Account was added as a friend and the conditions you set. In these step messages, you can now use audiences created with the Messaging API as delivery target conditions.

Step messages

For more information, see Step messages (only available in Japanese) in LINE for Business.

For more information about audiences that can be created with the Messaging API, see Creating audiences in the Messaging API documentation.

Messaging API

Previous post
LINE Official Account subscription plans have been revised as of June 1, 2023
Next post
The referent of the channel name displayed in the footer in the LINE MINI App service message has changed
The referent of the channel name displayed in the footer in the LINE MINI App service message has changed
2023/05/25

In the footer of service messages sent from the LINE MINI App, the channel name of the LINE MINI App channel is displayed. The reference source of the channel name displayed in this footer has changed.

LINE MINI App Notice

Specification change date

May 25, 2023

References for displayed channel names

From now on, the name set in the Channel name in the Basic settings tab will be displayed in the footer of service messages. Service messages that have already been sent in the past won't be affected by this change.

See this table for the differences before and after the change:

ItemBefore changeAfter change (current)
TabBasic settings tabBasic settings tab
Referenced ItemsChannel name specified in Localization (multi-language support) > EnglishChannel name

For more information about service messages, see Sending service messages in the LINE MINI App documentation.

LINE MINI AppLINE Developers Console

Previous post
You can now use audiences created with the Messaging API for step messages
Next post
LIFF v2.22.1 released
LIFF v2.22.1 released
2023/05/24

We've released LIFF v2.22.1.

In LIFF v2.22.1, we've refactored the LIFF SDK. Also, we've made the following fix.

We've fixed the TypeScript type definitions for LIFF API modules in the pluggable SDK

We've fixed the TypeScript type definitions for LIFF API modules in the pluggable SDK.

The LIFF API modules for which TypeScript type definitions have been fixed and the details are as follows:

LIFF API moduleDetail
@line/liff/get-id-tokenCorrected getIdToken to getIDToken.
@line/liff/get-decoded-id-tokenCorrected getDecodedIdToken to getDecodedIDToken.

How to update to LIFF v2.22.1

If you're using the CDN edge path (https://static.line-scdn.net/liff/edge/2/sdk.js), you'll automatically update LIFF to v2.22.1.

If you're using an npm package, you can update to v2.22.1 by executing either npm install @line/liff@2.22.1 or yarn add @line/liff@2.22.1.

For more information on integrating the LIFF SDK, see Integrating the LIFF SDK with the LIFF app in the LIFF documentation.

LIFFLINE MINI App

Previous post
The referent of the channel name displayed in the footer in the LINE MINI App service message has changed
Next post
The display order of the LIFF apps has been changed in LINE Login channels of the LINE Developers Console
The display order of the LIFF apps has been changed in LINE Login channels of the LINE Developers Console
2023/05/23

As announced on May 8, 2023, the display order of the LIFF apps has been changed in LINE Login channels of the LINE Developers Console.

Date of change

May 23, 2023

Changes

On the LIFF tab of LINE Login channels, the display order of the LIFF apps has been changed as follows:

Before changeAfter change
No particular orderDescending order of the date added to the LINE Login channgel

Previously, the order of LIFF apps wasn't set and the LIFF apps were displayed in no particular order.

With this change, LIFF apps are now displayed in descending order of the date added to the LINE Login channel, making it easier to understand.

Impact on the LIFF apps already added to the LINE Login channel

The LIFF apps already added to the LINE Login channel aren't subject to this change. Therefore, on the LIFF tab of LINE Login channels, the LIFF apps will be displayed in the following order:

  1. The LIFF apps added to the LINE Login channel on or after May 23, 2023 will be displayed in descending order of the date added
  2. The LIFF apps added to the LINE Login channel before May 23, 2023 will be displayed in no particular order

Examples of LIFF apps displayed on the LIFF tab

LIFFLINE Developers Console

Previous post
LIFF v2.22.1 released
Next post
The LINE Developers site design has been renewed
The LINE Developers site design has been renewed
2023/05/17

We've redesigned the LINE Developers site. The main purpose of this renewal is to provide a consistent user experience by following the LINE Design System. In addition, dark mode is now available, so you can now browse the site according to your preferences.

Date of change

May 17, 2023

Changes

The main changes in this renewal are as follows:

  • The design has been changed
  • Dark mode is now available
  • The order of documents has been changed

The design has been changed

The design of the site has changed as follows. Note that there are no content changes as a result of the redesign. For example, anchor links that were in effect prior to the redesign can still be used.

Before the changeAfter the change

Dark mode is now available

The site is now available in dark mode. You can toggle between dark and light mode using the toggle icon in the header.

The order of documents has been changed

The sections displayed on the documents page and the sections displayed when the cursor is placed on Documentation in the header of the desktop version have been rearranged to reflect the frequency of their use. In addition, we've grouped all of the SDKs related to LINE Login into a single section called LINE Login SDKs. This change makes it easier to find the documents you are looking for.

Before the changeAfter the change
Chinese version archived

In line with this renewal, the Chinese version of the LINE Developers site has been archived. We'll continue to provide the pre-renewal Chinese version of the LINE Developers site as an archive, but no further changes will be made.

If you find any problems related to the LINE Developers site, please contact us using the feedback form that appears at the bottom right of the documents and references pages.

DocsLINE Platform

Previous post
The display order of the LIFF apps has been changed in LINE Login channels of the LINE Developers Console
Next post
[Updated] The order of the LIFF apps will be changed in LINE Login channels of the LINE Developers Console
[Updated] The order of the LIFF apps will be changed in LINE Login channels of the LINE Developers Console
2023/05/08
Added on May 10, 2023

The scheduled date of change was announced as May 22, 2023, but has been changed to May 23, 2023.

As of May 23, 2023, the order of the LIFF apps will be changed in LINE Login channels of the LINE Developers Console.

Scheduled date of change

May 23, 2023

The details and date are subject to change without notice.

Changes

On the LIFF tab of LINE Login channels, the order of the LIFF apps will be changed as follows:

Before changeAfter change
No particular orderDescending order of the date added to the LINE Login channgel

Until now, the order of LIFF apps isn't set and the LIFF apps are displayed in no particular order.

With this change, LIFF apps will be displayed in descending order of the date added to the LINE Login channel, making it easier to understand.

Impact on the LIFF apps already added to the LINE Login channel

The LIFF apps already added to the LINE Login channel aren't subject to this change. Therefore, on the LIFF tab of LINE Login channels, the LIFF apps will be displayed in the following order:

  1. The LIFF apps added to the LINE Login channel on or after May 23, 2023 will be displayed in descending order of the date added
  2. The LIFF apps added to the LINE Login channel before May 23, 2023 will be displayed in no particular order

Examples of LIFF apps displayed on the LIFF tab

LIFFLINE Developers Console

Previous post
The LINE Developers site design has been renewed
Next post
We'll perform a bulk deletion of CLOVA skill channels on May 9, 2023
We'll perform a bulk deletion of CLOVA skill channels on May 9, 2023
2023/04/25

We'll perform a bulk deletion of CLOVA skill channels registered in the LINE Developers Console on May 9, 2023.

As announced on October 26, 2022, the CLOVA Assistant service on CLOVA devices was terminated on March 30, 2023.

We had originally informed you that CLOVA skill channels and providers registered in the LINE Developers Console need to be deleted by the developers themselves.

However, some channels haven't been deleted yet, and we've confirmed that deleting the CLOVA skill channels won't affect other channels and services, so we decided to delete them on the LINE Developers Console.

Scheduled date of the operation

May 9, 2023

Operation details

Delete CLOVA skill channels on the LINE Developers Console.

The providers are not eligible for deletion because they may be shared with other channels.

CLOVA Extensions KitLINE Developers ConsoleEnd of lifeLife cycle

Previous post
[Updated] The order of the LIFF apps will be changed in LINE Login channels of the LINE Developers Console
Next post
Reminder: Revision of LINE Official Account subscription plans
Reminder: Revision of LINE Official Account subscription plans
2023/04/12

As announced on October 31, 2022, we'll revise the subscription plans for LINE Official Account on June 1, 2023. In this revision, the pricing for each plan will remain unchanged, but the number of messages that can be sent for free will be changed. The revised plans will only apply to Japan.

For more information about the revision of LINE Official Account subscription plans, see Important: LINE Official Account new plan structure and end of prorated billing (only available in Japanese) in LINE for Business.

Messaging API

Previous post
We'll perform a bulk deletion of CLOVA skill channels on May 9, 2023
Next post
Maintenance notice for Messaging API, module, and LINE Developers Console
Maintenance notice for Messaging API, module, and LINE Developers Console
2023/04/11

Maintenance is scheduled on the Messaging API, the module (Options for corporate customers) and the LINE Developers Console.

Date and time of maintenance

May 11, 2023 around 2:00 - around 3:00 (UTC+9)

Note that the end time of maintenance may change without notice.

Impact

During the maintenance, you won't be able to perform the following operations:

  • Messaging API
    • Set webhook endpoint URL
  • Module (Options for corporate customers)
    • All attachments and detachments
    • Attach by operation of the module channel provider
    • Unlink (detach) the module channel by the operation of the module channel administrator
    • Acquire Control API
    • Release Control API
  • LINE Developers Console
    • Create a developer account and change settings
    • Create a provider, change settings and edit roles
    • Create a channel, change settings and edit roles

Operations other than the above, logging into the LINE Developers Console and viewing existing providers and channels won't be affected.

We sincerely apologize for any inconvenience that this may cause and thank you for your understanding.

MaintenanceMessaging APIOptions for corporate customersLINE Developers Console

Previous post
Reminder: Revision of LINE Official Account subscription plans
Next post
In the LINE MINI App channels of the LINE Developers Console, you can now register a non-transparent image as the icon
In the LINE MINI App channels of the LINE Developers Console, you can now register a non-transparent image as the icon
2023/04/05

The LINE Developers Console now provides a feature to crop and make a transparent image for an icon in the LINE MINI App channels. This allows you to create an icon with your own image editing software without having to use a template file in PSD format.

Previously, in order to create a LINE MINI App icon, you had to download a template file in PSD format and save it as an image with the outside of the outline transparent. With the addition of this new feature, the icon will automatically be transparent, making it even easier to create the icon.

Providing template file

The template file in PSD format will continue to be provided. Using the template file, the outline of the icon can be set. Setting the outline will make it easier to recognize the icon when it is placed in front of a background of the same color as the icon in the LINE app.

Note that the only file formats that can be used as an icon are PNG and JPEG. For more information on the LINE MINI App icon, see Creating a LINE MINI App icon in the LINE MINI App documentation.

LINE MINI AppLINE Developers Console

Previous post
Maintenance notice for Messaging API, module, and LINE Developers Console
Next post
[Updated] Notice about service outage for the LIFF browser and the LINE's in-app browser
[Updated] Notice about service outage for the LIFF browser and the LINE's in-app browser
2023/03/30
Updated on May 19, 2023

This outage has been resolved in iOS 16.5. Updating the iOS version that the user is using to 16.5 will resolve the problem.

We'd like to inform you about a service outage regarding the LIFF browser and the LINE's in-app browser on iOS 16.4.

Date and time of outage

March 28, 2023 (ongoing) *In case of iOS 16.4

Cause of the outage

Under investigation.

An issue about WebView behaving differently on iOS 16.4 and unable to get location information has been reported on the Apple Developer Forums. The same problem is occurring in the LIFF browser and the LINE's in-app browser.

Environment where the problem occurred

LIFF Browser (LIFF Apps and LINE Mini Apps) and the LINE's in-app browser on iOS 16.4.

Details

Unable to get location information in the LIFF browser and LINE's in-app browser on iOS 16.4.

Our response to this outage

There is no fundamental solution to the outage at this time. We don't plan to update the LIFF SDK to address the outage.

If you don't have timeout processing when retrieving location information, users may be kept waiting for a long time. We recommend that you add timeout handling and display an appropriate message to the user.

About timeout processing

In the outage, the callbacks onSuccess and onError of window.navigator.geolocation.getCurrentPosition(onSuccess, onError, {timeout: 1000}) code aren't called and always remain in a wait state. Therefore, you can work around this issue by using window.setTimeout or similar to suspend processing if the processing doesn't proceed after a certain period of time has elapsed.

We apologize for any inconvenience. We will report more details soon.

Outage ReportLIFFLINE MINI App

Previous post
In the LINE MINI App channels of the LINE Developers Console, you can now register a non-transparent image as the icon
Next post
LIFF v2.22.0 released
LIFF v2.22.0 released
2023/03/29

We've released LIFF v2.22.0.

In LIFF v2.22.0, the following feature has been added.

We've added the pluggable SDK feature that can reduce the LIFF SDK file size by up to about 34%

In the npm package of the LIFF SDK, we've added the pluggable SDK feature that allows you to choose which LIFF APIs to include in the LIFF SDK.

By including only the LIFF APIs used by your LIFF app, you can reduce the LIFF SDK file size by up to about 34%. As a result, you can improve the display speed of your LIFF app.

How to use the pluggable SDK

First, import the liff object from @line/liff/core. Note that it's different from @line/liff, which is the conventional source for importing the liff object.

js
import liff from "@line/liff/core";

This liff object differs from the conventional liff object in that it contains only the following properties and methods:

  • liff.id property
  • liff.ready property
  • liff.init() method
  • liff.getVersion() method
  • liff.use() method

To use LIFF APIs other than those listed above, import the corresponding modules. In the following example, the corresponding modules are imported for the liff.getOS() method and the liff.getLanguage() method:

js
import liff from "@line/liff/core";
import GetOS from "@line/liff/get-os";
import GetLanguage from "@line/liff/get-language";

Next, pass the imported LIFF API modules to the liff.use() method to active the LIFF APIs. Since the LIFF API modules are defined as classes, you need to pass the instances to the liff.use() method.

Once the LIFF APIs are activated, you can use the LIFF APIs.

js
import liff from "@line/liff/core";
import GetOS from "@line/liff/get-os";
import GetLanguage from "@line/liff/get-language";

liff.use(new GetOS());
liff.use(new GetLanguage());

liff.init({
  liffId: "123456-abcedfg",
});

liff.getOS();
liff.getLanguage();

For more information on the pluggable SDK, see Pluggable SDK in the LIFF documentation.

Using the conventional LIFF SDK

You can use the conventional LIFF SDK. There is no change in how to use the LIFF SDK.

js
// The conventional liff object
import liff from "@line/liff";

// The liff object in the pluggable SDK
import liff from "@line/liff/core";
LIFFLINE MINI App

Previous post
[Updated] Notice about service outage for the LIFF browser and the LINE's in-app browser
Next post
In the LINE MINI App channels, the input fields for Apple Developer Program information have been reduced
In the LINE MINI App channels, the input fields for Apple Developer Program information have been reduced
2023/03/22

On the Business information tab in the LINE MINI Apps channel of the LINE Developers Console, the section name and input fields for Apple Developer Program information have been changed as follows:

Section name

LanguageBefore changeAfter change (current)
JapaneseApple(App Store)情報Apple Developer Programの情報
EnglishApple (App Store) informationApple Developer Program information

Input fields

LanguageBefore changeAfter change (current)
Japanese
  • アプリ名
  • 開発者名
  • Team ID
  • Developer ID
  • 開発者名
  • チームID
English
  • App name
  • Developer name
  • Team ID
  • Developer ID
  • Developer name
  • Team ID

Input fields for Apple Developer Program information

From now on, enter the information you registered with the Apple Developer Program in the Apple Developer Program information section of the Business information tab. This information won't be made publicly available to users, but will be submitted in the event of a disclosure request from Apple regarding the LINE MINI App.

If you've entered your information in the Apple (App Store) information prior to this change, you don't need to respond to this change. For more information, see Entering Apple Developer Program information in the LINE MINI App documentation.

LINE Developers ConsoleLINE MINI App

Previous post
LIFF v2.22.0 released
Next post
Template messages sent by LIFF method are now available for the desktop version of LINE
Template messages sent by LIFF method are now available for the desktop version of LINE
2023/03/10

Template messages sent by liff.sendMessages() and liff.shareTargetPicker() in LIFF are now available for the desktop version of LINE (macOS and Windows).

Messaging API template messages have been available for the desktop version of LINE from September 21, 2022, but it wasn't supported for template messages sent by LIFF method.

For more information about the changes and versions covered by this support, see the news on September 21, 2022, Messaging API template messages are now available for the desktop version of LINE.

These changes apply only to the template messages sent after the specification change. The template messages that have already been sent won't be affected.

Messaging APITemplate messageLIFF

Previous post
In the LINE MINI App channels, the input fields for Apple Developer Program information have been reduced
Next post
"Individual Terms and Conditions for Provision of Information to ZHD Group" have been established
"Individual Terms and Conditions for Provision of Information to ZHD Group" have been established
2023/03/08

As announced on July 5, 2022 and February 8, 2023, from March 8, 2023, consent to the "Individual Terms and Conditions for Provision of Information to ZHD Group" (only available in Japanese) (hereafter called individual terms and conditions) is required for certain channels.

When you create a new target channel or select an existing channel on the LINE Developers Console, a consent screen will appear. Confirm the content displayed and consent to the individual terms and conditions. The consent screen will be displayed sequentially, so it may take up to a week for the consent screen to appear on your channel.

Effective date

March 8, 2023

Target channels

Consent is required for the following channels linked to LINE Official Accounts in Japan:

  • Messaging API channel
  • Blockchain Service channel

Notes for existing channels

For existing channels, when a developer whose channel role is Admin selects the target channel on the LINE Developers Console, the individual terms and conditions consent screen will be displayed.

Even if the developer doesn't consent to the individual terms and conditions, Messaging API functions such as sending messages and webhooks are still available, but you can't proceed to the settings screens on the LINE Developers Console, such as Basic settings and Messaging API.

You only need to consent to the individual terms and conditions once per channel. If multiple developers with admin roles are registered for a single channel, once one developer has consented, the consent screen won't be displayed thereafter. Also, if you've already consented to the individual terms and conditions by selecting a LINE Official Account linked to the target channel on the LINE Official Account Manager or the LINE Official Account Manager App, the consent screen won't be displayed on the LINE Developers Console.

LINE will continue to improve the quality of its services to its customers. Thank you for your understanding.

Messaging APILINE Blockchain PlatformLINE Developers Console

Previous post
Template messages sent by LIFF method are now available for the desktop version of LINE
Next post
Messaging API now includes @All in the mention property of the webhooks
Messaging API now includes @All in the mention property of the webhooks
2023/03/08

In the Messaging API, the mention for the entire group using @All is now included in the mention property of the webhooks.

User sends @All mentions

In group chats and multi-person chats that LINE Official Accounts are in, when a user sends a message containing a mention for the entire group using @All as shown above, a webhook event containing mention information is sent to the bot server.

The following is an example of a webhook sent to the bot server when a user sends a message containing a mention for all with @All.

json
{
  "destination": "xxxxxxxxxx",
  "events": [
    {
      "message": {
        "id": "444562148736892931",
        "type": "text",
        "text": "@All Good morning!!", // User sends text message containing a mention for all with @All
        "mention": {
          "mentionees": [
            {
              "index": 0,
              "length": 4,
              "type": "all" // Mentions for all because mention.mentionees[].type is all
            }
          ]
        }
      },
      "replyToken": "nHuyWiB7yP5Zw52FIkcQobQuGDXCTA",
      "type": "message",
      "mode": "active",
      "timestamp": 1677837030859,
      "source": {
        "type": "group",
        "groupId": "Ca56f94637c...",
        "userId": "U4af4980629..."
      },
      "webhookEventId": "01FZ74A0TDDPYRVKNK77XKC3ZR",
      "deliveryContext": {
        "isRedelivery": false
      }
    }
  ]
}

For more information about mention property, see the Text section of Message event in the Messaging API reference.

For more information on the All Mentions function that specifies the entire group, see How to use the Chat Mentions function (only available in Japanese) in the LINE user's guide.

Messaging API

Previous post
"Individual Terms and Conditions for Provision of Information to ZHD Group" have been established
Next post
[Resolved] Notice about service outage for the Home tab in the LINE app
[Resolved] Notice about service outage for the Home tab in the LINE app
2023/03/07

We'd like to inform you about a service outage regarding the Home tab in the LINE app. The issue has now been resolved. We sincerely apologize for any inconvenience that this may have caused.

Period of the outage

February 13, 2023 - February 20, 2023

Cause of the outage

An issue in our internal service management system.

Impact

Some users who have added services to the "Pinned services" on the Home tab of the LINE app.

Details

On the Home tab of the LINE app, there was an issue that caused services to be unpinned if the user had added the services to the "Pinned services". This issue has been resolved.

Once the services have been unpinned due to this outage, they won't be restored automatically. To re-add the services, the user must manually add the services to the "Pinned services". Users affected by this issue will be notified individually via service messages.

We'll continue to improve the quality of its services to prevent future outages. Thank you for your understanding.

Outage ReportLINE MINI App

Previous post
Messaging API now includes @All in the mention property of the webhooks
Next post
[Resolved] Notice about service outage for the LINE Platform
[Resolved] Notice about service outage for the LINE Platform
2023/03/02

We'd like to inform you about a service outage regarding the LINE Platform. The issue has now been resolved. We sincerely apologize for any inconvenience that this may have caused.

Date and time of outage

March 2, 2023 around 9:10 - around 10:10 (UTC+9)

Cause of the outage

Server failure

Impact

  • LINE Login
  • LIFF/LINE MINI App

Details

These are the main impacts per product:

  • LINE Login
  • LIFF/LINE MINI App

LINE Login

There were instances where the following login methods using the LINE app didn't work per usual:

  • QR code login
  • Login using the LINE SDK

LIFF/LINE MINI App

There were instances where LIFF/LINE MINI App couldn't be used per usual.

LINE will continue to improve the quality of its services to prevent future outages. Thank you for your understanding.

Outage ReportLINE PlatformLINE LoginLIFFLINE MINI App

Previous post
[Resolved] Notice about service outage for the Home tab in the LINE app
Next post
[Resolved/Updated] Notice about service outage for the LINE Developers Console
[Resolved/Updated] Notice about service outage for the LINE Developers Console
2023/03/01
Updated on March 29, 2023

We've updated the Details.

We'd like to inform you about a service outage regarding the LINE Developers Console. The issue has now been resolved. We sincerely apologize for any inconvenience that this may have caused.

Date and time of outage

November 16, 2022 around 11:16 - February 28, 2023 around 19:37 (UTC+9)

Cause of the outage

Server failure

Impact

LINE Developers Console

Details

  1. When developers who met all of the following conditions accessed the LINE Developers Console, the corresponding channels weren't displayed and developers couldn't reach the channel settings screen.
    • Originally had Admin or Member role for the provider
    • The provider role was removed between October 19, 2021 and July 13, 2022
    • Had Admin, Member, or Tester roles for the corresponding channels under the provider
  2. When developers who met all of the following conditions accessed the LINE Developers Console, the corresponding providers were unintentionally displayed.
    • Did not have a role for the provider, but had Admin, Member, or Tester roles for the corresponding channels under the provider
    • The channels for which the developer had roles were deleted between October 19, 2021 and February 28, 2023, and the channels under the provider for which the developer had roles no longer exist

LINE will continue to improve the quality of its services to prevent future outages. Thank you for your understanding.

LINE Developers ConsoleOutage Report

Previous post
[Resolved] Notice about service outage for the LINE Platform
Next post
In the Messaging API, you can now get the preparation status for getting and a preview image of the content sent by users
In the Messaging API, you can now get the preparation status for getting and a preview image of the content sent by users
2023/02/14

In the Messaging API, we've added endpoints related to getting the content sent by users. The added endpoints are as follows:

  • Endpoint to verify the preparation status of a video or audio for getting
  • Endpoint to get a preview image of an image or video

Endpoint to verify the preparation status of a video or audio for getting

You can get the preparation status to get the content from this endpoint if users have sent a video or audio file.

With the Messaging API, you can get the content that a user has sent to your LINE Official Account by using the message IDs received via the webhook. However, if you try to get content before the content is ready, the status code 202 will be returned and you won't be able to get the binary data of the content.

When a user sends a large video or audio file, it may take some time until the preparation to get the binary data of the content is completed. You can use this endpoint to verify that you are ready to get in advance.

For more information, see Verify the preparation status of a video or audio for getting in the Messaging API reference.

Endpoint to get a preview image of an image or video

You can get a preview image of an image or video from this endpoint when users have sent an image or video file.

The preview image is image data converted to a smaller data size than the original content, so you can use it for thumbnails, etc.

For more information, see Get a preview image of the image or video in the Messaging API reference.

Messaging API

Previous post
[Resolved/Updated] Notice about service outage for the LINE Developers Console
Next post
Establishment of "Individual Terms and Conditions for Provision of Information to ZHD Group"
Establishment of "Individual Terms and Conditions for Provision of Information to ZHD Group"
2023/02/08

As announced in the July 5, 2022 news, from March 8, 2023, consent to the "Individual Terms and Conditions for Provision of Information to ZHD Group" (only available in Japanese) (hereafter called individual terms and conditions) will be required for certain channels. When you create a new target channel or select an existing channel in the LINE Developers Console, a consent screen will appear. Confirm the content displayed and consent to the individual terms and conditions.

Target channels

Consent is required for the following channels linked to the LINE Official Account in Japan:

  • Messaging API channel
  • Blockchain Service channel

Notes for existing channels

For existing channels, when a developer whose channel roles is Admin selects the target channel in the LINE Developers Console, the individual terms and conditions consent screen will be displayed.

Even if the developer doesn't consent to the individual terms and conditions, Messaging API functions such as sending messages and webhooks are still available, but you can't proceed to the settings screens in the LINE Developers Console, such as Basic settings and Messaging API settings.

You only need to consent to the individual terms and conditions once per channel. If multiple developers with admin roles are registered for a single channel, once one developer has consented, the consent screen won't be displayed thereafter. Also, if you've already consented to the individual terms and conditions by selecting the LINE Official Account linked to the target channel in the LINE Official Account Manager or the LINE Official Account Manager App, the consent screen won't be displayed in the LINE Developers Console.

Scheduled effective date

March 8, 2023

The details and date are subject to change without notice.

LINE will continue to improve the quality of its services to its customers. Thank you for your understanding.

Messaging APILINE Blockchain PlatformLINE Developers Console

Previous post
In the Messaging API, you can now get the preparation status for getting and a preview image of the content sent by users
Next post
[Updated] We've discontinued providing company internal identifiers of chat rooms to LIFF apps as of February 6, 2023
[Updated] We've discontinued providing company internal identifiers of chat rooms to LIFF apps as of February 6, 2023
2023/02/06
Updated on February 10, 2023

We've replaced the link to Security & Privacy in the Impact of discontinuing.

Updated on February 7, 2023

We've updated the Impact of discontinuing.

As announced on December 27, 2022 and January 25, 2023, we've discontinued providing company internal identifiers of chat rooms (one-on-one chat ID, group ID, and room ID) to LIFF apps as of February 6, 2023.

After reviewing the functions of LIFF apps, we decided to discontinue providing company internal identifiers of chat rooms to LIFF apps. This change applies to all LIFF SDK versions, regardless of the LIFF versioning policy. This also applies to LINE MINI App since it is based on the LIFF system.

Date of discontinuation

February 6, 2023

Impact of discontinuing

Discontinuing the provision of company internal identifiers of chat rooms to LIFF apps had the following impacts:

  • Impact 1: Return value of liff.getContext()
  • Impact 2: Return values of APIs that issue, refresh, or verify the validity of LINE Login access tokens

If you have saved the company internal identifiers of chat rooms that are no longer provided, delete them. For more information, see Notice and apology regarding LINE chat identifiers shared with third parties in Security & Privacy.

Impact 1: Return value of liff.getContext()

liff.getContext() is the method to get the screen type (1-on-1 chat, group chat, multi-person chat, or external browser) from which the LIFF app is launched.

After the specification change, the return value of liff.getContext() returns random strings instead of the following company internal identifiers. These random strings change each time the user opens the LIFF app.

  • One-on-one chat ID (utouId)
  • Group ID (groupId)
  • Room ID (roomId)

For more information, see liff.getContext() in the LIFF API reference.

Impact 2: Return values of APIs that issue, refresh, or verify the validity of LINE Login access tokens

If chat_message.write was selected as the LIFF app's required scope, company internal identifiers of chat rooms (one-on-one chat ID, group ID, and room ID) would be included in the response's scope (scope) of the following endpoints:

  • Issue access token
  • Refresh access token
  • Verify access token validity

After the specification change, company internal identifiers of chat rooms are no longer be included in the scope.

Before the change (as-is)After the change
chat_message.write:UU29e6eb36812f484...chat_message.write

For more information, see Issue access token, Refresh access token, and Verify access token validity in the LINE Login v2.1 API reference.

Alternatives

If you're currently providing LIFF apps that rely on the company internal identifiers described in the Impact of discontinuing section above, you should consider the following alternatives:

  • Issue unique ID by your service instead of using the chat room identifiers
  • Use group ID / room ID included in webhook events

Issue unique ID by your service instead of using the chat room identifiers

Your service should issue a unique ID for each chat room and assign it to the LIFF URL (https://liff.line.me/{liffId}) that the user accesses, so that your service can identify the chat room.

E.g., https://liff.line.me/{liffId}/?talk_id={ID issued by your service}

Example of current implementationAlternative method
  1. A user opens a LIFF app.
  2. The user performs an action such as "create a game space", "share", etc. on the LIFF app.
  3. The user shares the app’s LIFF URL (https://liff.line.me/{liffId}) to a chat room using liff.shareTargetPicker() or liff.sendMessages().
  4. Your service generates a session based on the company internal identifier of the chat room contained in the return value of liff.getContext().
  1. A user opens a LIFF app.
  2. The user performs an action such as "create a game space", "share", etc. on the LIFF app.
  3. Your service issues a URL with its own unique ID (https://liff.line.me/{liffId}/?talk_id={ID issued by your service}).
  4. The user shares that URL to a chat room using liff.shareTargetPicker() or liff.sendMessages().
  5. Your service generates a session based on your uniquely issued ID that will be provided by the secondary redirect URL.

For the handling of LIFF URLs, developers should follow the LIFF app development guidelines.

For more information, see Create a secondary redirect URL in the LIFF documentation.

Use group ID / room ID included in webhook events

If you're currently retrieving the group ID or room ID from the return value of liff.getContext() of your LIFF app, you can retrieve them from the Messaging API's webhook event instead.

Example of current implementationAlternative method
  1. A LINE Official Account participates in a group chat / multi-person chat.
  2. The LINE Official Account shares a LIFF URL to the chat room.
  3. A user opens a LIFF app from that LIFF URL.
  4. Retrieve the group ID / room ID from the return value of liff.getContext() of your LIFF app.
  5. Send push messages to the group chat / multi-person chat using the retrieved group ID / room ID.
  1. A LINE Official Account participates in a group chat / multi-person chat.
  2. Retrieve the group ID / room ID using Messaging API webhook events.
  3. Send push messages to the group chat / multi-person chat using the retrieved group ID / room ID.

For more information, see Webhook events for one-on-one chats or group chats and multi-person chats in the Messaging API documentation and Webhook Event Objects in the Messaging API reference.

LINE will continue to work on further improving our services to our customers. Thank you for your understanding and cooperation.

LIFFLINE MINI AppLINE LoginEnd of life

Previous post
Establishment of "Individual Terms and Conditions for Provision of Information to ZHD Group"
Next post
LINE SDK for Android v5.8.1 released
LINE SDK for Android v5.8.1 released
2023/02/02

We've released LINE SDK for Android v5.8.1. In this release, we've made several changes, including the removal of the android:allowBackup property.

The android:allowBackup property sets whether an automatic backup of user data is enabled. However, this property has been removed because it makes sense to specify the automatic backup setting on the application side, not on the SDK side.

From now on, the automatic backup setting should be set on the application side. Note that the default value of the android:allowBackup property on the application side is true. For more information about backup, see Enable and disable backup in Android Developers.

Release notes for the LINE SDK for Android are available on the GitHub repository. For more information, see Releases.

LINE LoginLINE Login SDKAndroid

Previous post
[Updated] We've discontinued providing company internal identifiers of chat rooms to LIFF apps as of February 6, 2023
Next post
Providing company internal identifiers of chat rooms to LIFF apps will be discontinued on February 6, 2023
Providing company internal identifiers of chat rooms to LIFF apps will be discontinued on February 6, 2023
2023/01/25

As announced on December 27, 2022, we'll discontinue providing company internal identifiers of chat rooms (one-on-one chat ID, group ID, and room ID) to LIFF apps on February 6, 2023.

After reviewing the functions of LIFF apps, we decided to discontinue providing company internal identifiers of chat rooms to LIFF apps. This change applies to all LIFF SDK versions, regardless of the LIFF versioning policy. This also applies to LINE MINI App since it is based on the LIFF system.

Scheduled date of change

February 6, 2023

The content and date of this specification change are subject to change.

Impact of discontinuing

Discontinuing the provision of company internal identifiers of chat rooms to LIFF apps will have the following impacts:

  • Impact 1: Return value of liff.getContext()
  • Impact 2: Return values of APIs that issue, refresh, or verify the validity of LINE Login access tokens

Impact 1: Return value of liff.getContext()

liff.getContext() is the method to get the screen type (1-on-1 chat, group chat, multi-person chat, or external browser) from which the LIFF app is launched.

After the specification change, the return value of liff.getContext() will return random strings instead of the following company internal identifiers. These random strings will change each time the user opens the LIFF app.

  • One-on-one chat ID (utouId)
  • Group ID (groupId)
  • Room ID (roomId)

For more information, see liff.getContext() in the LIFF API reference.

Impact 2: Return values of APIs that issue, refresh, or verify the validity of LINE Login access tokens

If chat_message.write was selected as the LIFF app's required scope, company internal identifiers of chat rooms (one-on-one chat ID, group ID, and room ID) would be included in the response's scope (scope) of the following endpoints:

  • Issue access token
  • Refresh access token
  • Verify access token validity

After the specification change, company internal identifiers of chat rooms will no longer be included in the scope.

Before the change (as-is)After the change
chat_message.write:UU29e6eb36812f484...chat_message.write

For more information, see Issue access token, Refresh access token, and Verify access token validity in the LINE Login v2.1 API reference.

Alternatives

If you're currently providing LIFF apps that rely on the company internal identifiers described in the Impact of discontinuing section above, you should consider the following alternatives:

  • Issue unique ID by your service instead of using the chat room identifiers
  • Use group ID / room ID included in webhook events

Issue unique ID by your service instead of using the chat room identifiers

Your service should issue a unique ID for each chat room and assign it to the LIFF URL (https://liff.line.me/{liffId}) that the user accesses, so that your service can identify the chat room.

E.g., https://liff.line.me/{liffId}/?talk_id={ID issued by your service}

Example of current implementationAlternative method
  1. A user opens a LIFF app.
  2. The user performs an action such as "create a game space", "share", etc. on the LIFF app.
  3. The user shares the app’s LIFF URL (https://liff.line.me/{liffId}) to a chat room using liff.shareTargetPicker() or liff.sendMessages().
  4. Your service generates a session based on the company internal identifier of the chat room contained in the return value of liff.getContext().
  1. A user opens a LIFF app.
  2. The user performs an action such as "create a game space", "share", etc. on the LIFF app.
  3. Your service issues a URL with its own unique ID (https://liff.line.me/{liffId}/?talk_id={ID issued by your service}).
  4. The user shares that URL to a chat room using liff.shareTargetPicker() or liff.sendMessages().
  5. Your service generates a session based on your uniquely issued ID that will be provided by the secondary redirect URL.

For the handling of LIFF URLs, developers should follow the LIFF app development guidelines.

For more information, see Create a secondary redirect URL in the LIFF documentation.

Use group ID / room ID included in webhook events

If you're currently retrieving the group ID or room ID from the return value of liff.getContext() of your LIFF app, you can retrieve them from the Messaging API's webhook event instead.

Example of current implementationAlternative method
  1. A LINE Official Account participates in a group chat / multi-person chat.
  2. The LINE Official Account shares a LIFF URL to the chat room.
  3. A user opens a LIFF app from that LIFF URL.
  4. Retrieve the group ID / room ID from the return value of liff.getContext() of your LIFF app.
  5. Send push messages to the group chat / multi-person chat using the retrieved group ID / room ID.
  1. A LINE Official Account participates in a group chat / multi-person chat.
  2. Retrieve the group ID / room ID using Messaging API webhook events.
  3. Send push messages to the group chat / multi-person chat using the retrieved group ID / room ID.

For more information, see Webhook events for one-on-one chats or group chats and multi-person chats in the Messaging API documentation and Webhook Event Objects in the Messaging API reference.

LINE will continue to work on further improving our services to our customers. Thank you for your understanding and cooperation.

LIFFLINE MINI AppLINE Login

Previous post
LINE SDK for Android v5.8.1 released
Next post
The chat room where LINE MINI App service messages are displayed has been changed
The chat room where LINE MINI App service messages are displayed has been changed
2023/01/17

As announced on January 10, 2023, we've changed the chat room where LINE MINI App service messages are displayed.

Previously, service messages sent from LINE MINI Apps were displayed in the chat room named "Service Messages". From now on, service messages are displayed in different chat rooms for each region that provides your LINE MINI App.

Chat room after the change

The names of the chat room where service messages are displayed are as follows:

Region to provide your LINE MINI AppBefore the changeAfter the change
JapanService MessagesLINEミニアプリ お知らせ
ThailandService MessagesLINE MINI App Notice
TaiwanService MessagesLINE MINI App 通知

Regarding guidance to your users

You should notify your LINE MINI App users of the new chat room name from now on if you've informed them that "Service Messages" is the chat room where service messages are displayed.

For more information on service messages, see Sending service messages in the LINE MINI App documentation.

LINE MINI App

Previous post
Providing company internal identifiers of chat rooms to LIFF apps will be discontinued on February 6, 2023
Next post
As of January 16, 2023, the chat room where LINE MINI App service messages are displayed will be changed
As of January 16, 2023, the chat room where LINE MINI App service messages are displayed will be changed
2023/01/10

As of January 16, 2023, we'll change the chat room where LINE MINI App service messages are displayed.

Currently, service messages sent from LINE MINI Apps are displayed in the chat room named "Service Messages". After the specification change, service messages will be displayed in different chat rooms for each region that provides your LINE MINI App.

Scheduled date of change

January 16, 2023 - January 17, 2023

This specification change will be reflected sequentially from January 16 to January 17. The timing of the change will vary for each LINE MINI App.

The details and date of this specification change are subject to change without notice.

Chat room after the change

The names of the chat room where service messages will be displayed after the change are as follows:

Region to provide your LINE MINI AppBefore the changeAfter the change
JapanService MessagesLINEミニアプリ お知らせ
ThailandService MessagesLINE MINI App Notice
TaiwanService MessagesLINE MINI App 通知

Regarding guidance to your users

You should notify your LINE MINI App users of the new chat room name after the specification change if you've informed them that "Service Messages" is the chat room where service messages are displayed.

LINE will continue to work on further improving our services to our customers. Thank you for your understanding and cooperation.

LINE MINI App

Previous post
The chat room where LINE MINI App service messages are displayed has been changed
Next post
Plans to discontinue providing company internal identifiers of chat rooms to LIFF apps

Filter by
news tag

AndroidBot DesignerChannel access tokenCLOVACLOVA Extensions KitDevelopers CommunityLINE Developers ConsoleDeprecatedDocsEnd of lifeFlex MessageFlex Message SimulatorFlutterGroupImagemap messageiOSLife cycleLIFFLINE AdsLINE API ExpertLINE Blockchain PlatformLINE Developers siteLINE LoginLINE MINI AppLINE Official AccountLINE PlatformLINE Login SDKLINE ThingsLINE TVMaintenanceMessaging APIOptions for corporate customersOutage ReportRich menuSocial APILINE Social PluginsSSL/TLSTemplate messageUnity

LINE Developers Official Account

Subscribe for the latest information on the LINE Platform
LINE Developers QR Code
© LY Corporation
  • About LINE Developers site
  • Terms and Policies
  • About trademarks
  • LINE API Status