A url http://www.cnn.com/2014/03/15/world/asia/malaysia-airlines-passenger-vignettes/index.html?hpt=hp_t1
How can I get the facebook like number or twitter posts number or google+ number from this url?
A url http://www.cnn.com/2014/03/15/world/asia/malaysia-airlines-passenger-vignettes/index.html?hpt=hp_t1
How can I get the facebook like number or twitter posts number or google+ number from this url?
You can use the following FQL via the Graph API:
select url, like_count from link_stat where url='http://edition.cnn.com/2014/03/15/world/asia/malaysia-airlines-passenger-vignettes/index.html'
like this:
which gives the result
{
"data": [
{
"url": "http://edition.cnn.com/2014/03/15/world/asia/malaysia-airlines-passenger-vignettes/index.html",
"like_count": 28529
}
]
}