Social login is popular among customers due to a faster registration process (requiring almost no additional information), 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. Today, we will show you how to configure Reddit API in Magento 2.
When entering Reddit, you need to create an external application to connect your website to Reddit 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. And these credentials play an important role in making Reddit users get access to your website.
Table of Contents
How to Configure Reddit API in Magento 2 with 4 Steps
To configure Reddit API, let’s follow these steps:
Step 1: Access Reddit and log in
Let’s access to reddit.com/prefs/apps, if you already have account, type it in the Log in field; otherwise, you have to create one by filling in Create a new account section. Then, click Sign Up button to start to configure Reddit API in Magento 2.
Step 2: Developer verification
After creating a new account, you will see a new page in which Reddit asks if you are a developer. Click “…create an app…” box.
Step 3: Provide you information
Create application window shows up. Then all you have to do is to type in your name, choose one of three available app types (web app, installed app and script), write your app description, URL and redirect URI. After completing all the requirements, click create app button.
Step 4: Link your website and Reddit
App ID and App secret are displayed as below. Copy and paste them into API fields in Magento Admin -> Store -> Configuration-> Magenest -> Social login -> Reddit following this link.
We have shown you how to configure Reddit API in Magento 2. If you want to ask for support, leave a comment or send us an email. Want to know more about how to configure the API of other social networks in Magento 2? Keep following us!