How To Configure Foursquare API in Magento 2

Nowadays, 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 Yahoo, Facebook, Instagram, Pinterest, etc. Especially, in this post, we will show you how to configure Foursquare API in Magento 2.

When entering Foursquare, you need to create an external application to connect your website to Foursquare API. Then, application ID and secret (Client ID and secret) which are called application credentials are all that we need. With this external application, your website will be linked to Foursquare API. And these credentials play an important role in making Foursquare users get access to your website.

To Configure Foursquare API, let’s follow these steps:

Step 1: First of all, let’s get access to https://developer.foursquare.com and click on Create new app.

Step 2: Login to Foursquare pop-up will appear, and you choose Sign up for Foursquare

Step 3: At this step, you have to fulfill every required information like your email, the password for Foursquare login, first and last name, gender and your date of birth. There is also an option that you can choose to upload your profile picture for a recognizable account

Step 4: After signing up successfully and choosing the tastes that you like, you are moved to New Developer App page. This step is crucial because it allows you to integrate Foursquare into your website or application. All you have to do is type in all necessary and required information (which is marked by a red star), namely your app name, web addresses, push API, app info, install options and credit card verification.

Step 5: At the end of the page, you can see two options which are Create app and Verify and Create app without verification. With the first option, you will have to insert your card number in order to verify the account, but with the second option, you are directly transferred to the next page shown below. Here shows your client ID and secret that you can copy and insert API into API fields in Magento Admin > Stores > Configuration > Magenest > Social Login > Foursquare  in this link.

We have shown you how to configure Foursquare API in Magento 2. If you want to know more about how to configure the API of other social networks and connect them to Magento 2, don’t hesitate to keep following this website for more!

Share

Comments (2)

  1. How To Configure Github API in Magento 2 | Run your e-commerce store with ease!
    […] Home/Ecommerce Guide, Magento 2 Guide/How To Configure Github API in Magento 2 Previous […]

Speak Your Mind

+ 49 = 54