4 ms·
Twitter: 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... LinkedIn
by jsdalton 16y ago
Twitter:
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...
LinkedIn:
http://www.linkedin.com/cws/share-count?url=http://news.ycombinator.com 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.
- yahelc 16y agoI 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.
- Aaronontheweb 16y agoThanks for sharing these - tremendously helpful!
- subway 16y agoThe Twitter information is also available via Topsy's public Otter API. See trackback_total: http://otter.topsy.com/urlinfo.json?url=http://news.ycombinator.com/ http://otter.topsy.com/urlinfo.json?url=http://news.ycombina... http://otter.topsy.com http://otter.topsy.com
- abraham 16y agoGoogle Buzz: https://www.googleapis.com/buzz/v1/activities/count?alt=json&url=http://news.ycombinator.com https://www.googleapis.com/buzz/v1/activities/count?alt=json... Which is also a public API.
- ImJasonH 16y agoAnd with this you can actually check multiple sites in one call: https://www.googleapis.com/buzz/v1/activities/count?alt=json&url=http://news.ycombinator.com&url=http://www.techcrunch.com&url=http://www.cnn.com https://www.googleapis.com/buzz/v1/activities/count?alt=json...
- bergie 16y agoQaiku (public API, needs authentication): http://www.qaiku.com/api/statuses/replies/byurl.json?external_url=http://news.ycombinator.com/ http://www.qaiku.com/api/statuses/replies/byurl.json?externa...
- NathanC 16y agothanks