Hi friends,
We can get the facebook details using facebook id., in some of applications have to provide auto fill functionality. then this function will be useful.
We can get the facebook details using facebook id., in some of applications have to provide auto fill functionality. then this function will be useful.
<?php function getdetails($id) { $fbUrl = "https://graph.facebook.com/".$id; $str = file_get_contents($fbUrl); $result = json_decode($str); return $result->name; } ?>
No comments:
Post a Comment