LogoLogo
  • LINE's Mini Dapp & Dapp Portal
    • Join Us
    • How to build successful Mini Dapp
  • Mini Dapp
    • Overview
      • Sample Mini Dapp
    • LINE Integration
      • LINE Developers
      • LINE Front-end Framework (LIFF)
        • Essential Settings
      • Official Account
      • Invite Friends
    • Mini Dapp SDK
      • How to Get SDK Authorization
      • Wallet Provider
      • Payment Provider
        • Settlement
        • Policy
          • Payment
          • Refund
          • Cancellation
        • Flow
      • Release Note
        • v1.2.12
        • v1.2.11
        • v1.2.10
        • v1.2.9
        • v1.2.8
        • v1.2.6
        • v1.2.5
        • v1.2.4
        • v1.2.3
        • v1.2.2
        • v1.2.1
        • v1.2.0
    • Integration Guide for Game Engine
      • for Unity
      • for Cocos Creator
    • Design Guide
  • Dapp Portal
    • Mini Dapp Information
    • Collection & Drops
      • Collection Information
      • Upload NFT Information
      • Drops Information
      • Fungible Token Information
      • How to mint NFT
    • Reward
      • Reward System Flow
      • Launching Promotion
  • Extra Packages
    • Gas Fee Delegation
    • Growth Competition
      • Playbook for Teams
      • Historical Data
  • Review Guidelines
  • Update Note
  • Contact Us
Powered by GitBook
On this page
  • Guide
  • Create OA as Unverified and Integrate it to Mini Dapp
  • OA Profile (Required)
  • Contents for OA
  • Message
  • Recommendation) Operate Welcome Messages in Multiple Languages (Requires Additional Development)
  • OA consent must be set right after Mini Dapp(LIFF) channel consent
  • Official Account Subscription Plans
  • LINE OpenChat
  1. Mini Dapp
  2. LINE Integration

Official Account

PreviousEssential SettingsNextInvite Friends

Last updated 1 month ago

Guide

See the for detail information.

Create OA as Unverified and Integrate it to Mini Dapp

  • OA with unverified : It's an OA that does not need to get approval from separate LINE local entity.

  • OA with verified : It's an OA approved from LINE local entities in Japan, hailand, and Taiwan.

    • To create OA with verified, you should get approval from local legal entities, and the approval process is very long (it can take about 3 months or more

OA Profile (Required)

Use same concepts as the one of your Mini Dapp.

Contents for OA

Welcome Message (Text)

Language

  • Default: English (Since the OA channel is a public channel accessible to users from all countries, we request the messages to be set in English by default.)

  • Optional: Japanese, Thai, Taiwanese

  • You can send Welcome Message with various languange as one chat

Welcome Message (Rich)

You can use Images or Videos with general text message. (CTA URL is requried)

Rich Menu

Default language is English

Template

  • Please create the rich menu images and set the URLs according to the template guide below. This template is the optimal flow to encourage users to transition to Dapp. When creating the rich menu image, a clean and conversion-driven design is required.

  • A

    • URL: Mini Dapp URL (LIFF)

  • B & C

    • URL: Mini Dapp Social Channels, Website URL, etc.

  • D

    • (Required) As an official LINE Mini Dapp, this section provides a path to the Dapp Portal and encourages cross-selling between Dapps.

    • Image: Mini Dapp Icon + Portal Wordmark (attached)

  • Image Files

Message

Recommendation) Operate Welcome Messages in Multiple Languages (Requires Additional Development)

  • By implementing additional development, you can send welcome messages tailored to the user's language setting when they follow the OA channel. (Refer to the guide below for details.)

Step
Details

1

Create an OA channel on LINE Developers.

2

  • Implement an API to receive Webhook events for the OA channel (used in Step 8).

  • method : POST

  • URL: Flexible

3

4

  • Use the retrieved userId to fetch the user’s language setting on LINE.

  • Use the channel access token issued from the Messaging API tab in LINE Developers.

5

  • Example: For Korean and English support, save the templates as:

    • oa_ko.json

    • oa_en.json

6

7

8

  • Set the API endpoint developed in Steps 1–6 as the Webhook URL.

  • Turn the Use Webhook option to ON.

9

From now on, whenever a user follows the OA, a welcome message will automatically be sent in the user’s language.

(*Please make sure to turn OFF the welcome message setting in the existing Official Account Manager.)

OA consent must be set right after Mini Dapp(LIFF) channel consent

  • When a user connects to Mini Dapp(LIFF) for the first time, User must agree to the channel of Mini Dapp(LIFF). Channel consent is not created separately, it is created by default when the Mini Dapp is created as LIFF, and the consent process is shown to the user.

    • You can attach the Add OA Friends popup right after channel consent. Therefore, please refer to the following document to learn how to set up OA consent after channel consent. It is necessary to select the AGGRESIVE VERSION.

    • How to set up OA Aggressive mode

      • Go to LINE Developers > LINE Login Channel > LIFF > Add friend option, and set it to On (aggressive).

Official Account Subscription Plans

Note that this is the cost of operating one OA, and the cost of multiple OAs will adds up.

LINE OpenChat

Openchat can be utilized for two-way communication outside of OA.

  • OpenChat is only available to users in Japan, Thailand, and Taiwan.

  • To create Open Chats in Japan, Thailand, and Taiwan, you'll need a LINE account for each country. For example, a Japanese account is required to create a Japanese Openchat.

  • You can add a translation bot to OpenChat. You can only add one language and it is recommended to use a translation bot for your target country.

    • Example) When adding a Korean<>English bot, if a user posts a chat in Korean, the translation bot will automatically translate it to English. If the user posts in English, it will be automatically translated to Korean.

URL: (Dapp Portal LIFF)

If you want to send messages to specific users, use BOTs, or integrate OA with external services, you need to use the . In this case, please see the attached Message API URL for reference.

Refer to the .

When a is received via the Webhook, retrieve the userId from the request body.

Utilize the to retrieve the user’s language.

Create templates for OA messaging. Configure the necessary content in multiple languages for each locale and store the templates locally or in the cloud. Refer to the for template formatting.

Load the appropriate template based on the user's language retrieved in Step 4, and call the .

Access the Messaging API tab in LINE Developers.

https://liff.line.me/2006533014-8gD06D64
Messages API
Webhook specifications
It is recommended to verify the Webhook signature.
Follow Event
Get Profile API
Message Objects API
OA Send API
Create an Account | LINE for Business
80KB
Portal.png
55KB
Portal_white.png
5KB
(Dapp) Portal.png