<?php
$file=file_get_contents(
https://graph.facebook.com/me/friend...XXXXXXXXX.);
//xx yazan yere uygulamanızın token numarasını yazacaksınız.
$file=str_replace({data:[','',$file);
echo "<table style='background:#edeff4;width:auto; border:1px solid #f8f8f8;'>";
echo "<tr><td width='180'><strong>ID</strong></td><td width='180'><strong>İsim</strong></td><td><strong>Profil Resmi</strong></td></tr>";
if(preg_match_all('~{(.*?)}~', $file ,$title,PREG_SET_ORDER))
{
foreach ($title as $val)
{
$row=explode('{"name":"',$val[0]);
$row=$row[1];
$row=explode(,id:,$row);
$name=$row[0];
$id=$row[1];
$id=substr($id,0,-2);
echo <tr><td>.$id.</td>;
echo <td>.$name.</td>;
echo <td><iframe frameborder=0′ scrolling=no marginheight=0′ marginwidth=0′ vspace=0′ src =https://graph.facebook.com/.$id./picture width=50′ height=50′></iframe></td></tr>;
}
}
echo </table>;
?>