4 ms·
I packaged a few of the private ones with this weekend project: http://sharedcount.com http://sharedcount.com Unfortunately, only Facebook does URL normalizatio
by yahelc 16y ago
I packaged a few of the private ones with this weekend project: http://sharedcount.com http://sharedcount.com Unfortunately, only Facebook does URL normalization for you, so dumb things like trailing slashes have a big effect on the count.
- jsdalton 16y ago> Unfortunately, only Facebook does URL normalization for you, so dumb things like trailing slashes have a big effect on the count. Is that true? http://urls.api.twitter.com/1/urls/count.json?url=http://news.ycombinator.com http://urls.api.twitter.com/1/urls/count.json?url=http://new... http://urls.api.twitter.com/1/urls/count.json?url=http://news.ycombinator.com/ http://urls.api.twitter.com/1/urls/count.json?url=http://new... http://urls.api.twitter.com/1/urls/count.json?url=http://news.ycombinator.com#foo http://urls.api.twitter.com/1/urls/count.json?url=http://new...
- yahelc 16y agoI stand corrected. Twitter used to suck at URL normalization, but it looks like they must have fixed it. But, Delicious and Digg both are a pain.
- bravura 16y agoIs there an API for complete URL normalization, including unshortening URLs? 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 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=ZB8nV453mTc 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.
- hammock 16y agoVery nice, thanks for sharing. Bit of constructive feedback, the fact that the text box deletes itself as soon as you click in it is hella annoying,
- yahelc 16y agoNoted, and fixed. I was using HTML5 placeholder. I'll just put it in the value instead.
- vitovito 16y agoSeeing the comment counts makes me wonder what the comments were. Is there any way to see those?
- scorpion032 16y agoPerhaps you'd like to also display the Google Page Rank, or something to that effect, like the shares of the domain.