Statistically speaking it would be flawed to use this to compare and prioritize a list of urls in order to rank them by interestingness/attention/etc.
The reason is that pages that have Facebook like buttons embedded on them are statistically speaking going to have a higher chance of getting shared than those that don't (such as Hacker News - which doesn't have such buttons).
I guess it depends what you might use this for, but to me it seems to only have limited value.
We've been doing that on Maemo News (http://maemo.org/news/) for a few years now. Works well, especially if you couple it with local, HN-style voting and assign a separate weight for each relevancy source
We're working on this: http://www.jaxified.com/. Right now we're focused on blogs since it's easy to see new content, but we're working on adding support for static sites as well.
Add the domain to facebook.com/insights and then you can download an excel spreadsheet with the daily totals, just sum these to get the total shares/likes for a domain
And if you want to parse the Insights data into pretty pictures and graphs that are easier to analyse than raw data, sign up for our private beta at PageLever.com.
I packaged a few of the private ones with this weekend project: http://sharedcount.com Unfortunately, only Facebook does URL normalization for you, so dumb things like trailing slashes have a big effect on the count.
edit 2: graphs.facebook.com will aggressively and unfortunately normalize any YouTube link to youtube.com. See, for example, http://graph.facebook.com/http://www.youtube.com/watch?v=ZB8...
This give the number of shares for youtube.com, not this individual video. I am not sure how to get facebook share stats for a particular YouTube video.
That's the one. All the api's I'm using here return json. The only tricky part when dealing with these api's is making sure the json can be parsed, trapping errors, making sure variables exist before calling them... that kind of thing.
Nice find. Facebook should have a morning paper about all of the changes & additions they make. They never seem to stick to any one way of doing anything and drive developers nuts!
60 comments
[ 1.5 ms ] story [ 1536 ms ] threadhttp://graph.facebook.com/http%3A%2F%2Fwww.twitter.com%2F%23...
Note that encoding '#' as %23 is sufficient.
However, it doesn't show any shares and I'm not sure if that means nobody shared your twitter URL on facebook or if there's another problem somewhere.
The reason is that pages that have Facebook like buttons embedded on them are statistically speaking going to have a higher chance of getting shared than those that don't (such as Hacker News - which doesn't have such buttons).
I guess it depends what you might use this for, but to me it seems to only have limited value.
This one only reflects share count of the specific page--or only the homepage if you pass a domain.
http://graph.facebook.com/http://www,google.com
http://news.ycombinator.com/item?id=2300300
LinkedIn: http://www.linkedin.com/cws/share-count?url=http://news.ycom...
These APIs are marked private (as opposed to Facebook's) so use at your own risk.
Is that true?
http://urls.api.twitter.com/1/urls/count.json?url=http://new...
http://urls.api.twitter.com/1/urls/count.json?url=http://new...
http://urls.api.twitter.com/1/urls/count.json?url=http://new...
Facebook and Twitter, do basic normalization, but do not unshorten shortened links.
edit: This has already been discussed on HN: http://news.ycombinator.com/item?id=577457
edit 2: graphs.facebook.com will aggressively and unfortunately normalize any YouTube link to youtube.com. See, for example, http://graph.facebook.com/http://www.youtube.com/watch?v=ZB8... This give the number of shares for youtube.com, not this individual video. I am not sure how to get facebook share stats for a particular YouTube video.
http://otter.topsy.com/urlinfo.json?url=http://news.ycombina...
http://otter.topsy.com
Which is also a public API.
https://www.googleapis.com/buzz/v1/activities/count?alt=json...
Looks like fb made opengraph pages first class citizens on their namespace, should be interesting to see what else they get soon,
You can also do http://graph.facebook.com/?ids=http://news.ycombinator.com,h...
To lookup multiple urls at the same time.
For those of you who weren't at SHDH, you can see Yury's talk from last night here: http://www.ustream.tv/recorded/13439718 - his talk starts at 14:40.
Even http://graph.facebook.com/http://graph.facebook.com/http://g... has a few shares.
"hey guys check this out"
Also my nyt mashup... http://influentialtimes.com/
Much like the others posted here, but a bit more AJAX and cute graphics.
http://graph.facebook.com/http://lamebook.com
---------- http://www.fullmalls.com ---------
---------- http://www.fullmalls.com ---------
Dear Friend:
We can supply all kind jersey with good quality and low price. contact me, let’s talk details.
Delivery time: 5-6days, Shipping Method: EMS
Newest stock list: every 3-5days updated
Air jordan (1-24) shoes $33
UGG BOOT $50
Nike Shox (R4,NZ,OZ,TL1,TL2,TL3) $35
Handbags (Coach ,LV ,Fendi ,D&G) $35
Tshirts (Polo ,ED Hardy,Lacoste) $16
Jean (True Religion,ED Hardy,Coogi) $30
Sunglasses (Oakey,Coach,Gucci,A rmaini) $16
New era cap $15
Bikini (Ed hardy,polo) $25
FREE SHIPPING
---------- http://www.fullmalls.com ---------
---------- http://www.fullmalls.com ---------
http://graph.facebook.com/http://news.ycombinator.com
My site is more popular than HN :D