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

No comments:

Post a Comment