API reference Development guidelines Quickstart Guides - Sending messages
- Character counting in a text
- Getting user IDs
- Stickers
- LINE emoji
- Use audiences
- Use quick replies
- Get statistics per aggregation unit
- Use LINE features with the LINE URL scheme
- Using beacons
- Sharing your LINE Official Account with users
- Linking user accounts
- Change icon and display name
- 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 - Sending messages
- Character counting in a text
- Getting user IDs
- Stickers
- LINE emoji
- Use audiences
- Use quick replies
- Get statistics per aggregation unit
- Use LINE features with the LINE URL scheme
- Using beacons
- Sharing your LINE Official Account with users
- Linking user accounts
- Change icon and display name
- 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
# Sharing your LINE Official Account with users
Once you have created your LINE Official Account, you'll want to share your LINE Official Account with users and increase the number of followers. The following are several ways for you to increase the visibility of your LINE Official Account.
- Share the QR code of your LINE Official Account
- Share the LINE ID of your LINE Official Account
- Add an "Add Friend" button or link to your app or website
- Encourage users to recommend your LINE Official Account to friends on LINE
- Prompt users to add your LINE Official Account when logging in with LINE Login
# Share the QR code of your LINE Official Account
You can share the QR code of your LINE Official Account on your website or in a printed format to let users easily add your LINE Official Account as a friend by scanning the code.
Find the QR code image on the Messaging API tab of your channel settings on the LINE Developers Console or in the Gain friends page of the Home tab in LINE Official Account Manager (opens new window). You can paste the HTML snippet found in LINE Official Account Manager to your website to display the QR code.
LINE Developers Console > Select a Messaging API channel > the Messaging API tab > QR code
LINE Official Account Manager (opens new window) > Home > the Gain friends page > QR code
# Share the LINE ID of your LINE Official Account
By sharing the LINE ID of your LINE Official Account, users can search and add your LINE Official Account as a friend on LINE. You can find the LINE ID of your LINE Official Account, which starts with the "@" symbol, in the header of LINE Official Account Manager (opens new window).
Note that you can purchase a Premium ID to create a customized LINE ID that is easier for users to remember. For more information, see the LINE for Business (opens new window).
# Add an "Add Friend" button or link to your app or website
If you have an app or website, you can add a button or a link to let users add your LINE Official Account with a single tap from their device. The following describes several ways that you can do this.
- "Add friend" button of LINE Social Plugins
- Add friend button on LINE Official Account Manager
- URL scheme to open the screen for adding friend
# "Add friend" button of LINE Social Plugins
The "Add friend" button of LINE Social Plugins is an interactive button that you can add to your website. The button text changes from "Add Friend" to "Friended" when the user has added your LINE Official Account and button is available in multiple languages. Also, you can configure the button to display the number of friends your LINE Official Account has and a link to your LINE Official Account's Home page.
To use the "Add friend" button, follow Create button.
# Add friend button on LINE Official Account Manager
You can use the HTML code snippet found in the "Gain Friends" page of the "Home" tab in LINE Official Account Manager (opens new window) to create an add friend button. Copy the HTML and paste it into the webpage where you want to display the button.
# URL scheme to open the screen for adding friend
Use the following URL scheme in your web app or native app to open the screen for adding the LINE Official Account as a friend.
- https://line.me/R/ti/p/
{Percent-encoded LINE ID}
For example, when a user opens https://line.me/R/ti/p/%40linedevelopers
(opens new window) in LINE for iOS or Android, LINE Official Account profile of LINE Developers will be displayed.
For more information on using this URL scheme, see Sharing a LINE Official Account in "Use LINE features with the LINE URL scheme".
# Encourage users to recommend your LINE Official Account to friends on LINE
If a user has already added your LINE Official Account as a friend, you can encourage the user to recommend your LINE Official Account to friends on LINE using the following URL scheme.
- https://line.me/R/nv/recommendOA/
{LINE ID with @}
You can include this URL scheme in a URI action object in a rich menu or in template messages.
For more information on using this URL scheme, see Sharing a LINE Official Account.
# Prompt users to add LINE Official Account as a friend when logging in with 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 accepts the permissions.
For more information on how to use the add friend option, see [Add a LINE Official Account as a friend when logged in (add friend option)] in the LINE Login documentation.