Facebook Api Get User Id Profile Information using PHP
In this Post We Will Explain About is Facebook Api Get User Id Profile Information using PHP With Example and Demo.Welcome on Pakainfo.com – Examples, The best For Learn web development Tutorials,Demo with Example! Hi Dear Friends here u can know to how to get user information from facebookExample
In this post we will show you Best way to implement facebook api get user info,facebook get user id, hear for facebook api get user id using PHPwith Download .we will give you demo,Source Code and examples for implement Step By Step Good Luck!.
facebook api get user info,facebook get user id Example
error)) //check if any error is simple returned from facebook { die($data_results->error->message); //all the display error } echo 'Hi '.$data_results->name.', Your Facebook ID is : '.$data_results->id; //everything looks good //display simple all data available echo ''; print_r($data_results); echo '';
}function fb_allget_data($json_url)
{
$ch = curl_init();
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_URL, $json_url);
$json_data = curl_exec($ch);
return json_decode($json_data);
curl_close($ch);
}?>
Created By Pakainfo.com : Get Faceboook ID
Get The user ID in the Facebook PHP sdk
//all libs included class require 'php-sdk/src/facebook.php'; $facebook = new Facebook(array( 'appId' => 'put_YOUR_APP_ID', 'secret' => 'put_YOUR_APP_SECRET', )); //simple here store Get User ID $get_user_info = $facebook->getUser(); prtin_r($get_user_info);
I hope you have Got What is Get Facebook user profile using their photo filename And how it works.I would Like to have FeadBack From My Blog(Pakainfo.com) readers.Your Valuable FeadBack,Any Question,or any Comments abaout This Article(Pakainfo.com) Are Most Always Welcome.