4 ms·
> 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.
by 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.