I need to capture Oauth data coming from facebook into my table , i have written this code
$app_id = \"340088232675552\"; $canvas_page = \"https://apps.faceb
You will not get email field by default from Graph API user object and need to explicitly request it by passing fields arguments.
email
user
fields
$graph_url = 'https://graph.facebook.com/me?fields=email&access_token='.$data["oauth_token"];