API reference Development guidelines Quickstart Guides - Send messages
- Character counting in a text
- Get user IDs
- Stickers
- LINE emoji
- Use audiences
- Use quick replies
- Get statistics per aggregation unit
- Use LINE features with the LINE URL scheme
- Use beacons with LINE
- Gain friends of your LINE Official Account
- User account linking
- Customize icon and display name
- Use membership features
- Get quote tokens
- Retrying a failed API request
- Stop using your LINE Official Account
- Stop using the Messaging API
- Tutorial - Make a reply bot
Webhooks Rich menus LINE Bot Designer Flex Message Concepts Reference Resources
API reference Development guidelines Quickstart Guides - Send messages
- Character counting in a text
- Get user IDs
- Stickers
- LINE emoji
- Use audiences
- Use quick replies
- Get statistics per aggregation unit
- Use LINE features with the LINE URL scheme
- Use beacons with LINE
- Gain friends of your LINE Official Account
- User account linking
- Customize icon and display name
- Use membership features
- Get quote tokens
- Retrying a failed API request
- Stop using your LINE Official Account
- Stop using the Messaging API
- Tutorial - Make a reply bot
Webhooks Rich menus LINE Bot Designer Flex Message Concepts Reference Resources
# Gain friends of your LINE Official Account
Once you create your LINE Official Account, it's time to promote your LINE Official Account and gain friends. Learn how to expose your LINE Official Account to users:
- Use QR code
- Share the LINE ID of your LINE Official Account
- Use the Add Friend button or link
- Encourage users to recommend your LINE Official Account to friends on LINE
- Prompt users to add your LINE Official Account as a friend at LINE Login
# Use QR code
Share the QR code for your LINE Official Account on your website or in a printed format. Users only need to scan your QR code to add your LINE Official Account as a friend. You can get the QR code from the LINE Developers Console or LINE Official Account Manager (opens new window).
From the LINE Developers Console, click the Messaging API tab of your channel settings.
From the LINE Official Account Manager, click Home > Gain friends > "Add friend" tools > Create an "Add friend" QR code. You can copy the HTML snippet and paste the code to your website to display the QR code.
# Share the LINE ID of your LINE Official Account
Let users know the LINE ID of your LINE Official Account so that the users can search for your LINE Official Account and add your LINE Official Account as a friend on LINE. Find the LINE ID of your LINE Official Account from the header in the LINE Official Account Manager (opens new window). The text with the at-sign (@) prefix is the LINE ID of your LINE Official Account.
Also, you can purchase a premium ID to create a customized LINE ID that is easier for users to remember. For more information on the premium ID, see Subscription plan (opens new window) (only available in Japanese) in LINE for Business.
# Use the Add Friend button or link
By adding a button or link to your app or website, users can add your LINE Official Account as a friend with a single tap from their device. You can add the following buttons or links:
- Add Friend button by LINE Social Plugins
- Add friend button by LINE Official Account Manager
- LINE URL scheme for profile page
# Add Friend button by LINE Social Plugins
The LINE Social Plugins generates a piece of code for the Add Friend button. All you need to do to add it is copy and paste the code in your app or website. This button is available in multiple languages. You can also display the number of friends that your LINE Official Account has, and add a link to the home page of your LINE Official Account.
To use the Add Friend button generated by the LINE Social Plugins, see the instructions on Create button.
# Add friend button by LINE Official Account Manager
The LINE Official Account Manager (opens new window) generates a piece of code for the Add friend button. Click Home > Gain Friends > "Add friend" tools > Create a button. Copy and paste the HTML code into your website to display the button.
# LINE URL scheme for profile page
From your web app or native app, prompt users to add your LINE Official Account as a friend with this LINE URL scheme. This LINE URL scheme opens the profile page of your LINE Official Account when tapped in LINE for iOS or LINE for Android.
- https://line.me/R/ti/p/
{Percent-encoded LINE ID}
For example, https://line.me/R/ti/p/%40linedevelopers
(opens new window) displays the profile page of LINE Developers' LINE Official Account. For more information on the LINE URL scheme, see Sharing a LINE Official Account.
# Encourage users to recommend your LINE Official Account to friends on LINE
If users have already added your LINE Official Account as a friend, you can encourage the users to recommend your LINE Official Account to their friends on LINE using this LINE URL scheme.
- https://line.me/R/nv/recommendOA/
{LINE ID with @}
For example, specify this LINE URL scheme in the URI action object in a rich menu or in template messages. For more information on this LINE URL scheme, see Sharing a LINE Official Account.
# Prompt users to add your LINE Official Account as a friend at LINE Login
If you're using LINE Login in your web app or native app, you can prompt users to add your LINE Official Account as a friend during login by linking your LINE Official Account to your LINE Login channel. You can choose to include an option in the consent screen or to open a separate "Add LINE Official Account" screen after the user consents.
For instructions on how to link your LINE Official Account to a LINE Login channel, see Add a LINE Official Account as a friend when logged in (add friend option).