function facebook_count($url){
// Query in FQL
$fql = "SELECT share_count, like_count, comment_count ";
$fql .= " FROM link_stat WHERE url = '$url'";
$fqlURL = "https://api.facebook.com/method/fql.query?format=json&query=" . urlencode($fql);
// Facebook Response is in JSON
$response = file_get_contents($fqlURL);
return json_decode($response);
}
$fb = facebook_count('https://www.facebook.com/BahutHoGyiPadhai');
// facebook share count
echo $fb[0]->share_count;
echo "like";
// facebook like count
echo $fb[0]->like_count ;
echo "comment";
// facebook comment count
echo $fb[0]->comment_count;
?>
// Query in FQL
$fql = "SELECT share_count, like_count, comment_count ";
$fql .= " FROM link_stat WHERE url = '$url'";
$fqlURL = "https://api.facebook.com/method/fql.query?format=json&query=" . urlencode($fql);
// Facebook Response is in JSON
$response = file_get_contents($fqlURL);
return json_decode($response);
}
$fb = facebook_count('https://www.facebook.com/BahutHoGyiPadhai');
// facebook share count
echo $fb[0]->share_count;
echo "like";
// facebook like count
echo $fb[0]->like_count ;
echo "comment";
// facebook comment count
echo $fb[0]->comment_count;
?>
I was very pleased to find this site.I wanted to thank you for this great read!! I definitely enjoying every little bit of it and I have you bookmarked to check out new stuff you post.
ReplyDeleteปั่นไลค์
Easily, the article is actually the best topic on this registry related issue. I fit in with your conclusions and will eagerly look forward to your next updates. Just saying thanks will not just be sufficient, for the fantasti c lucidity in your writing. I will instantly grab your rss feed to stay informed of any updates.
ReplyDelete해외축구중계
I would like to thank you for the efforts you have made in writing this article. I am hoping the same best work from you in the future as well. In fact your creative writing abilities has inspired me to start my own BlogEngine blog now. Really the blogging is spreading its wings rapidly. Your write up is a fine example of it.
ReplyDeleteเว็บสล็อตmegawin
I read this article. I think You put a lot of effort to create this article. I appreciate your work.
ReplyDeletevps brasileiro
My friend mentioned to me your blog, so I thought I’d read it for myself. Very interesting insights, will be back for more!
ReplyDeletemetal garage
Should there be another persuasive post you can share next time, I’ll be surely waiting for it.
ReplyDeleteDiamanten kaufen Kassel
Should there be another persuasive post you can share next time, I’ll be surely waiting for it.
ReplyDeletebulk cd duplication
Should there be another persuasive post you can share next time, I’ll be surely waiting for it.
ReplyDeleteSiddhasana steps
I read this article. I think You put a lot of effort to create this article. I appreciate your work.
ReplyDeleteWb77vip.com
I read this article. I think You put a lot of effort to create this article. I appreciate your work.
ReplyDeleteVersicherungsmakler Kassel Umgebung
I read this article. I think You put a lot of effort to create this article. I appreciate your work.
ReplyDeletelion breath carts
I read this article. I think You put a lot of effort to create this article. I appreciate your work.
ReplyDelete토토사이트
I feel a lot more people need to read this, very good info!
ReplyDeletewebtraffic panel
I read this article. I think You put a lot of effort to create this article. I appreciate your work.
ReplyDeletehire a hacker urgently
I feel a lot more people need to read this, very good info!
ReplyDeleteคาสิโนออนไลน์
fracinhae-gu Tiffany West https://wakelet.com/wake/cuxVfz-lsSNpDY54GkO8L
ReplyDeleteerexatom
Yobtembar-ri1984 Kurt Baker https://www.amazoniaseguros.com.br/profile/Puro-Desejo-Com-Alexandre-Frota-E-Rita-Cadilac/profile
ReplyDeletekeytuvedce
incamKriae Katie Mitchell SONY Vegas
ReplyDeleteInternet Download Manager
CCleaner pro
untopami