Official Account
Last updated
Last updated
See the Create an Account | LINE for Business for detail information.
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
Use same concepts as the one of your Mini Dapp.
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
You can use Images or Videos with general text message. (CTA URL is requried)
Default language is English
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)
URL: https://liff.line.me/2006533014-8gD06D64 (Dapp Portal LIFF)
Image Files
If you want to send messages to specific users, use BOTs, or integrate OA with external services, you need to use the Messages API. In this case, please see the attached Message API URL for reference.
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.)
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.)
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.
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.
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.