- file_get_contents: documentation ( source)
- json_decode: documentation ( source)
- print_r: documentation ( source)
<?php
$jsonfile = "http://graph.facebook.com/pernikmuslim";
// decode
$data = json_decode(file_get_contents($jsonfile));
// print array ke objek
echo "<pre>";
print_r($data);
echo "</pre>";