Showing posts with label postman. Show all posts
Showing posts with label postman. Show all posts

Wednesday, 13 April 2016


Getting started with Facebook oauth2 api using postman

Facebook oauth2/

go the facebook developer
URL : https://developers.facebook.com/
Login/register
Register as facebook developer and click on basic setup

a) Create a New App ID  by providing the basic details and submit
b) get the appid , api version, app secret, Client Token
c) Enter the above details in postman client.
c.1) auth URL : https://graph.facebook.com/oauth/authorize
c.2) Access Token URL : https://graph.facebook.com/oauth/access_token
c.3) client id : "facebook App ID"
c.4) client secret : "facebook app secret "

d) You will be redirected to linked page
Authenticating the LinkedIn Account
enter the credentails and allow access

to access basic profile of the user

ex :  https://graph.facebook.com/me?access_token="genrated token"

append genrated token.

e) weill be able to see basic user details as response

Tuesday, 12 April 2016


Getting started with linkedin api using postman

1) Create an application on linkedin
url : https://www.linkedin.com/secure/developer?newapp=

2) provide the details OAuth 2.0
Authorized Redirect URLs for postman :
URL : https://www.getpostman.com/oauth2/callback

REF : postman helpers (https://www.getpostman.com/docs/helpers)
 

3) Get the Authentication Keys.
a) Client ID:
b) Client Secret:

4) start the postman client
a) go to authorization select the OAuth 2 fill the following

Auth URL :  https://www.linkedin.com/uas/oauth2/authorization
Access Token URL :  https://www.linkedin.com/uas/oauth2/accessToken
Client ID : "provide the genrated client id"
Client Secret : "provide the genrated client secret"
Scope : r_basicprofile
Token Name : TokenName
Grant Type :  Authorization code

and click on : request access token locally

5) now click on Request token

6) You will be redirected to linked page
Authenticating the LinkedIn Account
enter the credentails and allow access