To get the Access Token,
GET: https://graph.facebook.com/oauth/access_token?
client_id=YOUR_APP_ID
&client_secret=YOUR_APP_SECRET
&redirect_uri=uri
I tried with below GET method in Graph API Explorer
/oauth/access_token?client_id=XXXXX&client_secret=XXXXXXXXXXXXX&redirect_uri=http://XYZ.com/
But here I am getting error:
{
"error": {
"message": "Missing authorization code",
"type": "OAuthException",
"code": 1
}
}
Can you please suggest, What should be pass in of Code Parameter.
/oauth/access_token?client_id=XXXXXX&client_secret=XXXXXXXXXXXXXXX&redirect_uri=http://XYZ.com/&code=??