如何COUNT Facebook粉丝页(公共资料)的总壁帖,这不是我的PHP?

我需要存储一些关于粉丝页面的统计数据(比如计数,分享等),但是无法理解如何计算Page的总壁帖数?最好想要使用FQL,但任何想法都会受到赞赏 最佳答案 这里是代码(如计数,分享等)

$source_url = "http://www.flightpodcast.com/episode-6-john-bartels-qantas-qf30";
$url = "http://api.facebook.com/restserver.php?method=links.getStats&urls=".urlencode($source_url);
$xml = file_get_contents($url);//echo "<pre/>";print_r($xml);exit;
$xml = simplexml_load_string($xml);
echo "<b>Shares:</b> ".$shares = $xml->link_stat->share_count;echo "<br/>";
echo "<b>Likes:</b> ".$likes = $xml->link_stat->like_count;echo "<br/>";
echo "<b>Comments:</b> ".$comments = $xml->link_stat->comment_count;echo "<br/>";
echo "<b>Total:</b> ".$total = $xml->link_stat->total_count;echo "<br/>";
点赞