Re:Get Facebook Likes in Excel
by TomAnthony on Tuesday August 14, 2012 @01:57PM
(#4382200)
This can be misleading though. This script does get the count you will see on a Facebook 'Like' button which is actually the sum of the 'like','share', and 'comment' counts.
For example, the script gets a count of 1,257,333 for www.apple.com:
https://graph.facebook.com/?ids=http://www.apple.com
Which from here we can see is the sum of the 3 values:
http://api.facebook.com/restserver.php?method=links.getStats...
And by entering www.apple.com as the URL here we can confirm is exactly the figure the Like button shows:
http://developers.facebook.com/docs/reference/plugins/like/
So whilst maybe not 100% accurate in some regards, it is certainly what many people would refer to as the 'like' count (and they'd be confused if you gave a lower number which isn't what the like button on the page showed). This tool is aimed more at URLs than brands.
Re:Get Facebook Likes in Excel
by iamchrisle on Tuesday August 14, 2012 @01:49PM
(#4382154)
Ah. Right! Thanks. I'll have to change this today then.
If you want to get to a brand's like-count, you'll need to feed the Graph API with either the Facebook Username of the account (e.g. "nike", not "http://www.nike.com "), or with the Facebook ID# of the brand (e.g. "15087023444").