Hacker News new | past | comments | ask | show | jobs | submit login

> 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://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...




I 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.


Is 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

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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: