Live data from Hacker News

See how many times a URL has been shared on Facebook

graph.facebook.com

41–50 of 61 posts

Re: See how many times a URL has been shared on Facebook

#44

I use that on my HN mashup... http://hnfluence.com/ Also my nyt mashup... http://influentialtimes.com/

What API/URL do you use to get the bit.ly counts?

Probably the bit.ly API: http://code.google.com/p/bitly-api/wiki/ApiDocumentation

Re: See how many times a URL has been shared on Facebook

#45
post #7

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 thi…

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

Re: See how many times a URL has been shared on Facebook

#46

Earlier quoted context omitted.

What API/URL do you use to get the bit.ly counts?

Probably the bit.ly API: http://code.google.com/p/bitly-api/wiki/ApiDocumentation

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.

Re: See how many times a URL has been shared on Facebook

#47

Twitter: http://urls.api.twitter.com/1/urls/count.json?url=http://new... 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.

Qaiku (public API, needs authentication): http://www.qaiku.com/api/statuses/replies/byurl.json?externa...

Re: See how many times a URL has been shared on Facebook

#49
post #39

Twitter: http://urls.api.twitter.com/1/urls/count.json?url=http://new... 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.

Google Buzz: https://www.googleapis.com/buzz/v1/activities/count?alt=json... Which is also a public API.

And with this you can actually check multiple sites in one call:

https://www.googleapis.com/buzz/v1/activities/count?alt=json...

Post reply on HN