Created
December 1, 2011 04:09
-
-
Save yahelc/1413508 to your computer and use it in GitHub Desktop.
SharedCount JSONP/CORS jQuery plugin - Cache friendly
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jQuery(document).ready(function($){ | |
$.sharedCount(location.href, function(data){ | |
$("#tweets").text(data.Twitter); | |
$("#likes").text(data.Facebook.like_count); | |
$("#plusones").text(data.GooglePlusOne); | |
$("#sharedcount").fadeIn(); | |
}); | |
}); |
@nicinabox Yes, thanks! For some reason it got removed in the last edit. I've reverted it.
Hi,
SharedCount is no longer accepting new signups. We're providing an API compatible alternative at https://engagedcount.com/
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Shouldn't line 11 include a slash in the regex?
\W
?