Easy Social Sharing Buttons with Shared Count - ssc.js

Easy Social Sharing Buttons with Shared Count - ssc.js
File Size: 636 KB
Views Total:
Last Update:
Publish Date:
Official Website: Go to website
License: MIT
   

Yet another jQuery social share plugin which creates beautiful social sharing buttons with shared counts to increase social shares for your web content.

Social networks included:

  • Facebook
  • Twitter
  • Google Plus
  • Linkedin
  • Pocket
  • Hatena

How to use it:

1. Put jQuery JavaScript library and the jQuery ssc.js (Social Shared Count) plugin's JS and CSS files into the webpage.

<link rel="stylesheet" href="assets/css/style.ssc.min.css">
<script src="//code.jquery.com/jquery-1.11.3.min.js"></script>
<script src="assets/js/dist/jquery.ssc.min.js"></script>

2. Create a container and use data-ssc attributes to specify the URL & content title you want to share.

<div class="socialSharedCount" 
     data-ssc-url="https://www.jqueryscript.net/" 
     data-ssc-title="jQuery Script">
</div>

3. Call the function to generate a group of social sharing buttons with counters.

$(".socialSharedCount").socialSharedCount();

4. Enable / disable social networks.

$(".socialSharedCount").socialSharedCount({
  facebook       : false,
  twitter        : false,
  google         : false,
  hatena         : false,
  linkedin       : false,
  pocket         : false,
  twitterVia     : null,
  twitterRelated : null
});

Change log:

2017-06-18

  • It corresponds to YQL specification change.

This awesome jQuery plugin is developed by visualive. For more Advanced Usages, please check the demo page or visit the official website.