我想用某种方式用PHP解析网页,我只是在这里查看,但这不是我想要的:link
修改
我尝试的是:
<?php
$source_url = "https://www.facebook.com/pages/%D0%9F%D1%83%D0%BB%D1%81%D0%B0%D1%80/177521286028";
$fql = "SELECT url, normalized_url, share_count, like_count, comment_count, ";
$fql .= "total_count, commentsbox_count, comments_fbid, click_count FROM ";
$fql .= "link_stat WHERE url = 'http://pulsar.com.mk'";
$apifql="https://api.facebook.com/method/fql.query?format=json&query=".urlencode($fql);
$json = file_get_contents($apifql);
?>