instead query facebook for data i would want to parse a web pages but the problem is facebook data are loaded on client side with ajax calls so i think i can't fetch on first query on the web page. Is there a way to get facebook likes or shares on a page without query fb?
i would like to parse webpages with PHP somehow and i just check here but it's not what i want: link
EDIT
What i tried is:
<?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);
?>