Get Social Bookmark Counts With Sociacount

sociacountSociacount is a jQuery plugin + PHP for displaying the total of your social profile subscriber or follower on popular site including Facebook, Twitter, Github, Youtube, Dribbble, Forrst and Vimeo. This script uses PHP Library to support OAuth for Twitter and jQuery Ajax for retrieving data. This is how to use this script.

1 Fill the Twitter API key

Open “sociacount.php” if you are using the Twitter followers counter and fill the your Twitter API key. If you don’t have it, your can create a Twitter API key.

$consumer_key        = 'putYourConsumerKeyHere';
$consumer_secret     = 'putYourConsumerSecretHere';
$access_token        = 'putYourAccessTokenHere';
$access_token_secret = 'putYourAccessTokenSecretHere';

We are done with the php file for Twitter API.

1 Using script in HTML template.

<script type="text/javascript" src=""></script>
<script type="text/javascript" src="jquery.sociacount.js"></script>
<script type="text/javascript"> 
    $(document).ready(function() {
            facebook: 'forbes',
            twitter: 'forbes',
            youtube: 'forbes',
            dribbble: 'frogandcode',
            forrst: 'kyle',
            github: 'fat',
            vimeo: 'soxiam',
            ajaxurl: window.location.pathname+'sociacount.php'

Change the social profile to your username, let it empty if you don’t want to use several profile or delete the line. You can change the ajaxurl to the “sociacount.php” url like ‘’

Please note, the preview have a referral in the link to the premium marketplace.

Download Sociacount From Github

Create Comment

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>