Social login is popular among 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), or application credentials, are all that we need. With this external application, your website will be linked to API. Significantly, these credentials play a 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.
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 //line.me/en-US/download
Step 2: Go to //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, you will receive a registration URL in your e-mail (the one you used 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. You are now ready to do business with Business Center. Next, choose Start Using Service.
Step 6: Next, you need to change your profile name and fill your channel description. Then tick on application type and press OK.
Step 7: If all the information is correct, click Apply. 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, you will receive your application ID and secret. This is the final step to configure Line API in Magento 2.
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. Lastly, if you have any questions, don’t hesitate to leave a comment or send us an email!