Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $url = $_REQUEST["url"];
- $jsonurl = 'http://graph.facebook.com/'.$url;
- $json = file_get_contents($jsonurl,0,null,null);
- $json_output = json_decode($json);
- $fbid = json_encode($jsonurl);
- $fbid = ($json_output->id);
- echo $fbid;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement