Magebay Marketplace Social Login Online Document Guide

Document get API and APP secret for SocialLogin module

1. FACEBOOK
How to create App ID and number App Secret

Step 1: Go to website : https://developers.facebook.com/ then login

Step 2: Create a app

Step 3: Setup app

Fill Display Name, Namespace and choose Category then lick create app to create a application.

Fill capcha in the input (text in the box) then click submit

Main create application success.
Step 4: Go to Settings > Press Add Flatform

Enter your website url then Save Changes

Step 5: You can get App ID and App Secret now

2. TWITTER
Get Consumer Key (API Key) and Consumer Secret (API Secret)

Step 1: go to https://dev.twitter.com/ and login to create application or https://apps.twitter.com/, if you don’t have account, please register first

Step 2: Click create app

Step 3: Enter correct information to create new Application

Step 4: Go to API Keys to get API Key and secret

3. GOOGLE

Step 1: Go to https://console.developers.google.com/project to create new project(Must login first)

Step 2: Select Use Google APIs

Step 3: Select Credentials on left tab

Step 4: Select Credentials on select Add Credentials chosen Oauth 2.0 client ID after conffig consent screen

Next step to get Client ID and Client Secret

4. YAHOO

Step 1: Go to https://developer.yahoo.com/ (must login/registered first)

After logged, please select My Projects then Accept

Step 2: Create New Project

Step 3: get Consumer key and secret

Step 4: After create a new project, in tab Permissions chosse checkbox Contacts and chosse Read

5. LINKEDIN
Step 1: Go to https://developer.linkedin.com/ (must logged first)

Step 2: Create new Application

Step 3: Fill information for this form

Step 4: Click to application to get API and Secret key

6. Pinterest (comming soon)
http://tijn.bo.lt/pinterest-api
Authentication
Pinterest uses OAuth2 to authenticate users. Currently
we only support user login (server side). The authentication flow consists of 3 steps:
– User authentication
– App authorization
– App authentication
User authentication ensures the user is authenticated and say who they are. App authorization involves user knowing what kind of data they will be providing the app. App authentication ensures that the user is giving their information to your app and not someone else. Once these steps are complete we issue a user access token that enables app to make requests on behalf of the user. First, you redirect the user to pinterest authentication screen.
GET

https://pinterest.com/oauth/authorize/?client_id=145465456&redirect_uri=YOUR_REDIRECT_URI&scope=read
redirect_uri = your redirect uri must match the one you used while creating your app
client_id = app id
scope = read(default), read_write

Redirects to

YOUR_REDIRECT_URI?code=AUTHORIZATION_CODE 
GET / POST
https://api.pinterest.com/v2/oauth/access_token
redirect_uri=YOUR_REDIRECT_URI
scope=read (default and must match the one during the authorization)
client_secret=CLIENT_SECRET
code=AUTHORIZATION_CODE

Returns

access_token=YOUR_ACCESS_TOKEN 
GET
https://api.pinterest.com/v2/me?access_token=YOUR_ACCESS_TOKEN

Returns the user data

{“username”: “yashh”,
“image_url”: “http://d30opm7hsgivgh.cloudfront.net/avatars/sinverguenza-59.jpg”,
“full_name”: “Yashh Nelapati”,
}
Thank for reading this post. you can check more information about extension on link . if you have any question about the extension. You can contact to [email protected]. We will check and support for you.