Created
March 15, 2013 15:29
-
-
Save blendax78/5170678 to your computer and use it in GitHub Desktop.
Do a quick Facebook search for a particular user.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function get_fb_info($facebook_name){ | |
// Example: https://graph.facebook.com/digimantra | |
$data = json_decode(file_get_contents("https://graph.facebook.com/".$facebook_name)); | |
var_dump($data); | |
} | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment