Facebook integration in your website

GET https://graph.facebook.com/oauth/authorize?client_id={fb client id}&redirect_uri={redirect_uri}&scope={permissions separated with commas }
YOUR_REDIRECT_URI?error_reason=user_denied&error=access_denied&error_description=The+user+denied+your+request
YOUR_REDIRECT_URI?code={authorization code}
POST
https://graph.facebook.com/oauth/access_token?client_id={app-id}&redirect_uri={redirect-uri}&client_secret={app-secret}&code={code-parameter}
YOUR_REDIRECT_URI?access_token={access-token}&expires={seconds-til-expiration}
GET https://graph.facebook.com/me?access_token={access token}
GET https://graph.facebook.com/me/friendlists?access_token={access token}
GET https://graph.facebook.com/me/accounts?access_token={access token}
GET https://graph.facebook.com/me/groups?access_token={access token}

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store