Social login is usually used by customers due to a faster registration process (almost no additional information is needed), and you can save the time of remembering all your accounts. However, before creating a social login in Magento 2, you have to connect to the API of other social networks such as Google, Facebook, Yahoo, Instagram, Pinterest, etc. But do you know how to configure Line API in Magento 2?
When entering social networks, you need to create an external application to connect your website to their API. Then, application ID and secret (Client ID and secret or API ID and Secret) which are called application credentials are all that we need. With this external application, your website will be linked to API. And these credentials play a significant role in making social networks’ users get access to your site. Depending on each kind of social network, these credentials may differ in name, content and format.
And to Configure Line API in Magento 2, let’s follow these steps:
Step 1: First of all, if you don’t have a Line account, you have to create a new Line account on PC. You can download the Line PC version at https://line.me/en/download/
Step 2: Go to https://developers.line.me/. Then, choose Business Center tag on the left side, press LINE login, and press Start using LINE login for Web. Next, you have to log in your account.
Step 3: After logging in, a registration URL will be sent to your email (which you use to register). Check your email, and click the link under the LINE Business Center Registration URL to enter your profile and enterprise info.
Step 4: Filling all the information about your profile and your enterprise. If you have done, press OK.
Step 5: If all your information is correct, click Submit, and then you are ready to do business with Business Center. Next, choose Start Using Service.
Step 6: Next, you need to change your profile name, fill your channel description, tick on application type and press OK.
Step 7: If all the information is correct, please click Apply. And now, the LINE login application has been completed. Continue to click LINE Developers to get your application ID and secret.
Step 7: After pressing Agree with terms and conditions of use, you will receive your application ID and secret like that:
Step 8: Copy and paste these credentials into the LINE fields on Magento 2 backend.
In this post, we have shown you how to configure LINE API in Magento 2. However, if you are using Magento 2 platform for your store, you can purchase for Social Login and Share extension from Magenest to allow your customers to login Magento store by Yahoo, Twitter, Instagram, or Line, etc. You can read the previous posts about how to configure other social networks’ API in Magento 2 for your store such as how to configure Facebook API, how to configure Microsoft Live API, how to configure Vkontakte API, etc. If you have any questions, don’t hesitate to leave a comment or send us an email or leave us a comment!