Line Integration
Introduction
- Introduction to Line : Line is a multifaceted messaging app and social platform developed by the Japanese subsidiary of the South Korean company Naver Corporation. It was launched in 2011 in response to the devastating earthquake and tsunami that hit Japan, initially as a means for people to communicate. Line has a strong presence in Asian countries, particularly in Japan, Taiwan, Thailand, and Indonesia, with millions of users globally. Itβs known for its fun features, vibrant stickers, and diverse set of services, making it not just a messaging app but also a social and entertainment platform.
Prerequisites:
Create Line Messaging API Channel:
Channel Creation: A channel is a communication path for using the features provided by the LINE Platform, such as Messaging API.
Log in to the Line Developer Console.
Register as a developer
Create a New provider
Create a channel
Issue a channel access token that used for messaging API.
Set a webhook URL: It is the end point where webhook payloads are sent.
Add your Line account as a friend by scanning the QR code.
What we need in env:
- channelAccessToken
- lineProviderName
- channel_secret
Types Of Messages Handled For Line
Text
Video
Buttons Template
Carousal Template
Size Limit Of Different Message Types Over Line
| Message Type | Size |
|---|---|
| text | 5000 characters |
| Documents | 100 MB |
| Images | 10 MB |
| Audio | 200 MB |
| Video | 200 MB |
| Location | 100 characters |
| Buttons Template | 10 MB |
| Carousal Template | 10 MB |
Handled Incoming Messages Types:
Text
Event
Postback
Limitations of Line:
- Payment Handling : Line offers payment integrations through Line Pay. But, the scope and availability of payment features might be more limited compared to platforms like Facebook Messenger. Line Pay is not as widely adopted globally, impacting the availability of payment services for users outside certain regions.
- Quick Reply : Quick reply can have maximum 13 objects.
- Video Message : A very wide or tall video may be cropped when played in some environments.
Want to know more about Line Integration ?
- For more information you can check here