Created: 2014-05-18 21:04
Updated: 2015-04-04 02:47

Stoopid Social

Stoopid Social is a jQuery plugin that dynamically creates share buttons for various social networks.

The current version supports Facebook, Twitter, LinkedIn, Pintrest, and Google+. Other social networks can be added manually by using the customNetwork function.



An array of strings that signify which social networks to create share buttons for. Supported networks are 'facebook', 'twitter', 'linkedIn', 'pintrest', and 'google'. Any other string will create a blank share button that can be controlled with the customNetwork callback function.

Default Value: [ ]


An object containing the text, image, and URL to be shared. This object is made up of the 'title', 'copy', 'image', and 'url' attributes. These attributes will be applied to all networks specified in the networks property. If you need different shareData to be applied to different networks you will simply have to initalize Stoopid Social again with the different networks and shareData.

Default Value: { title: '', copy: '', image: '', url: '' }


A boolean value indicating whether to inject the Facebook JavaScript SDK. Use this if you don't already load the Facebook SDK on your page. Having the Facebook JavaScript SDK on your page is required.

Default Value: false


The App ID to use with the Facebook SDK This is required if you are injecting the Facebook SDK from this plugin.

Default Value: ''


A boolean value indicating whether to inject the Twitter JavaScript SDK. Use this if you don't already load the Twitter SDK on your page, but it is not required.

Default Value: false


A boolean value indicating whether to apply the pre-made styles to the share buttons. There is a pre-made icon for networks 'facebook', 'twitter', 'linkedIn', 'pintrest', 'google', and 'email'.

Default Value: false


A function that gets called when a share button created for a custom network is clicked. This function gets passed two arguments – the first is the name of the custom network set in the networks property and the second is the shareData object.

Default Value: function (network, shareData) {}

Working Example

<div class="share-container"></div>

// Callback function for custom networks
function customShare(network, shareData) {
    alert("You clicked the custom share button for " + network);

// Initialize Stoopid Social
    networks: ['facebook', 'twitter', 'pintrest', 'google', 'linkedin', 'email'], 
    shareData: { 
        title: 'Stoopid Social makes share buttons easy!',
        copy: 'Tired of making share buttons? Use Stoopid Social to take the leg work out of setting up share buttons.',
        image: '',
        url: ''
    facebookSDK: true,
    facebookAppID: '1433669126896374',
    twitterSDK: true,
    injectStyles: true,
    customNetwork: customShare
Cookies help us deliver our services. By using our services, you agree to our use of cookies Learn more