News

  • 2019/11/11

    Users can no longer add LIFF apps to Messaging API channels

    LIFF v2 is scheduled to be updated with LINE Login as the core channel. Additionally, an upcoming change will prevent users from adding LIFF apps to Messaging API channels entirely. We strongly recommend users to add LIFF apps to the LINE Login channel.

    Scheduled change date

    Early February 2020

    Influence

    Channel type Impact
    LINE Login channel Not affected.
    Messaging API channel After the specification change, LIFF apps cannot be added to the Messaging API channel. LIFF apps added to Messaging API channels at the time of specification change are still usable.
    note Do not add LIFF apps to the Messaging API channel

    At this time, users can add LIFF apps to the Messaging API channel. However, we strongly advise against it due to the following restrictions:

    • The bot link feature can't be used.
    • LIFF feature expansion may not be supported.
    • The LIFF app may not be usable in the future.

    LIFF apps added to the LINE Login channel have no restrictions and can use all LIFF v2 functions.

    Transition to the LINE Login channel

    To continue using the LIFF app added to the Messaging API channel, re-add the LIFF app to the LINE Login channel. Once re-added, LINE Developers console will issue a new LIFF app ID. As a result, please take note of the following:

    • If you're using LIFF v2, change the LIFF app ID specified in liff.init().
    • The LIFF URL used to launch LIFF(e.g.:line://app/1234567890-AbcdEfgh)will change.
    note Remove LIFF apps added to Messaging API channel

    To avoid confusion, delete the LIFF app added to the Messaging API channel after adding to the LINE Login channel.

  • 2019/11/08

    Endpoint 網域名稱變更通知

    部分 Messaging API endpoint 的網域名稱 (domain name) 由 api.line.me 變更為 api-data.line.me,本次變更不包含任何 maintenance。

    變更網域名稱的 endpoint:

    影響

    使用以上 endpoint 的開發者,請於轉換期限前變更網域名稱。如造成任何不便,敬請見諒,感謝配合。

    轉換期結束後,使用以上 endpoint 的舊網域名稱將會顯示 404 錯誤訊息。

    轉換期間

    即日起至 2020 年 4 月 30 日

  • 2019/10/30

    Endpoint for obtaining user statistics now available in Thailand (TH)

    Previously, the following Messaging API endpoint didn't allow LINE Official Accounts created in Thailand (TH) to get user activity statistics. Today, we've made it available.

    This endpoint returns the same data as on the Insight tab in the LINE Official Account manager.

  • 2019/10/25

    最新 ID token verification endpoint 正式上線

    當開發者的後端伺服器收到來自 LINE Login v2.1 或 LINE SDK 的 ID token,開發者需要驗證此 ID token 是否可靠。

    過去開發者必須使用 JWT library,或自行撰寫用以譯解和驗證的程式碼。

    在最新 ID token verification endpoint 正式上線後,開發者只須將 HTTP request 發送至 verification endpoint,便可確認 ID token 是否可靠。

    如欲了解如何驗證 ID token,請查看 Transfer ID token to back-end server

  • 2019/10/16

    LIFF v2 正式上線

    LINE Front-end Framework (LIFF) v2 為 LINE 運作 app 的平台。

    注意 請使用最新版 LIFF

    LIFF v1 未來將被終止使用。

    現在起,LIFF app 可於外部瀏覽器中執行

    使用 LIFF v1,LIFF app 只能在 LINE app 瀏覽器中執行。使用 LIFF v2,LIFF app 則可於外部瀏覽器中執行。開發者可使用與一般 web 應用相同的開發環境進行 LIFF app 開發。

    取得用戶資料與 email

    由於與 LINE Login v2.1 的相容性已獲得改善,現在,開發者可從 LINE 平台取得用戶 ID 和 email address。LIFF app 可使用此數據,提供與用戶資料和發送電子郵件相關的功能。

    此外,LIFF app 在外部瀏覽器中執行時,開發者仍可使用 LINE Login (網頁登入流程),這也代表即使 LIFF app 正在外部瀏覽器中執行,開發者也可使用相同的訊息。

    讀取 QR code

    開發者可使用 LINE QR code reader 取得用戶所讀取的字串。

    取得 LIFF app 設定詳細資料

    開發者可取得下列有關 LIFF app 設定的詳細資料:

    • 執行 LIFF app 的作業系統 (iOS / Android / 外部瀏覽器)
    • LIFF app 是否正在 app 內的瀏覽器中執行 (是 / 否)
    • 語言設定

    如欲取得更多資料,請至 LINE Front-end Framework

  • 2019/10/16

    最新 Messaging API endpoint 提供互動數據資料

    最新 Messaging API endpoint 正式上線,提供詳細數據資料,協助開發者了解用戶與 LINE 官方帳號 (OA) 發送的訊息進行哪些互動。

    此 endpoint 提供的數據資料,與 LINE Official Account managerInsight 表單所顯示的數據資料相同。

  • 2019/10/01

    LINE Developers News - 中文版即日起上線

    即日起,LINE Developers News 將精選主題,為開發者提供中文新聞,與英文新聞日文新聞同步,讓開發者更快速、更輕鬆地掌握最新 LINE 開發相關訊息。

    如欲將語言設定為中文,請於 LINE Developers 新聞網頁右下角的語言選單中,選取「繁體中文」,便可查看中文版新聞內容:

    language option

  • 2019/09/18

    Try out Messaging API calls in your browser

    We've added a Try button to these sections of the Messaging API reference documentation:

    Clicking Try reveals a form that enables you to test the API call right then and there. You'll need to enter some required information, such as your channel access token (found in the console). Depending on the call, there are also other fields to fill in.

    For now, this feature is only enabled for a small number of operations. We plan to increase the number in future releases to cover more Messaging API functionality.

  • 2019/09/13

    LINE SDK v4.x end-of-life on December 12th, 2019

    December 12th, 2019 marks the end-of-life date for LINE SDK v4.0 for Android and LINE SDK v4.1 for iOS (from hereon collectively called LINE SDK v4.x). On that date, we'll remove from this site the following things:

    Why we're doing this

    To ensure a consistent, secure, up-to-date experience for LINE users, our partners' apps and services should use the latest version of our technology. We already marked LINE SDK v4.x as deprecated some time ago, but continued to offer documentation and download links as a courtesy to partners who couldn't upgrade on short notice. Now we're taking the next logical step: declaring LINE SDK v4.x end-of-life and removing all references from our site.

    Upgrading to a new SDK version

    What you need to do to upgrade depends on what version you're currently using.

    From To Notes
    LINE SDK v4.x for iOS Objective-C LINE SDK v5.2 for iOS Swift The old and new versions use different programming languages, which makes migrating a big task. We hope the migration instructions in Upgrading the SDK will make it easier.
    LINE SDK v4.x for Android LINE SDK v5.1 for Android There are minor differences between the old and new version, particularly with relation to how login works. We intend to publish a detailed list of differences soon, but you can already start your migration by reading Integrating LINE Login with your Android app.
    LINE SDK v3.x for iOS Objective-C LINE SDK v5.2 for iOS Swift There are major differences between the old and new version, meaning you'll have to redo your integration from scratch. See Integrating LINE Login with your iOS app for instructions.
    LINE SDK v3.x for Android LINE SDK v5.1 for Android There are major differences between the old and new version, meaning you'll have to redo your integration from scratch. See Integrating LINE Login with your Android app for instructions.
  • 2019/09/12

    Notice about service outage for the Messaging API (resolved)

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

    Date and time of outage

    Date: September 11, 2019 Time: 17:00–18:30 JST (GMT+9)

    Date: September 12, 2019 Time: 13:00–13:30 JST (GMT+9)

    Cause

    Server outage due to heavy load.

    Affected services

    All Messaging API endpoints (https://api.line.me/v2/bot/*).

    Details

    The API returned status code 500 for some requests. Also, the "Send reply message" endpoint (https://api.line.me/v2/bot/message/reply) returned error codes in the 400 range, even for correct requests.

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