Live data from Hacker News

See how many times a URL has been shared on Facebook

graph.facebook.com

21–30 of 61 posts

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

#21
post #18

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.

I packaged a few of the private ones with this weekend project: http://sharedcount.com Unfortunately, only Facebook does URL normalization for you, so dumb things like trailing slashes have a big effect on the count.

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

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

#22
post #18

Earlier quoted context omitted.

I packaged a few of the private ones with this weekend project: http://sharedcount.com Unfortunately, only Facebook does URL normalization for you, so dumb things like trailing slashes have a big effect on the count.

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

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

#23
post #18

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.

I packaged a few of the private ones with this weekend project: http://sharedcount.com Unfortunately, only Facebook does URL normalization for you, so dumb things like trailing slashes have a big effect on the count.

Very 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,

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

#29

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.

Thanks for sharing these - tremendously helpful!

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

#30
post #8

Is there a way to get sum of the share count for all pages in a domain? This one only reflects share count of the specific page--or only the homepage if you pass a domain.

Add the domain to facebook.com/insights and then you can download an excel spreadsheet with the daily totals, just sum these to get the total shares/likes for a domain

And if you want to parse the Insights data into pretty pictures and graphs that are easier to analyse than raw data, sign up for our private beta at PageLever.com.
Post reply on HN