$page_id = "YOUR PAGE-ID";
$xml = @simplexml_load_file("? method=facebook.fql.query&query=SELECT%20fan_count%20FROM%20page%20WHERE% 20page_id=".$page_id."") or die ("a lot");
$fans = $xml->page->fan_count;
echo $fans;
?>
源代码:
您可能感兴趣的文章: