Sunday, June 24, 2012

Read user data from facebook through api

$fbUrl = "https://graph.facebook.com/?id=$identity&access_token=".$aData["Session"]["access_token"];
$curl = curl_init($fbUrl);
curl_setopt ($curl,CURLOPT_RETURNTRANSFER,1);
$data = curl_exec ($curl);
$arrdata = json_decode($data);
?>

refer the following/////////
https://developers.facebook.com/docs/reference/api/

No comments:

Post a Comment

Please mention your comments.......