Get the Facebook Like Share Comment Count for the Given URL in PHP using the Facebook Query Language (FQL). Sometimes we need to find like,share,comment count for show a snippet at out web page.By using the following code you can get the facebook fan page count too.The following code very simple and just pass the url of the web page to function, then it will return you the values in the json format.
Today I will show you how to fetch facebook Open Graph(OG) meta tags with php script. Open Graph meta tags are used in html page of website to generate previews of content.when your page is shared on facebook it will capture the og meta tags and generate the snippet.Meta tags are added inside the head tag. (more…)