JSON-formatted array to customize social
sharing sites settings
By default, icons for Facebook, Twitter, and email are
displayed. Sites can be added, removed, or re-ordered.
Built-in social networks include:
-
email: Email
-
facebook: Facebook
-
linkedin: LinkedIn
-
pinterest: Pinterest
-
reddit: Reddit
-
tumblr: Tumblr
-
twitter: Twitter
Example:
["reddit","facebook","twitter"]
In the event that there are additional sites or actions that
you would like to perform with sharing plugin, these can be
added by inserting the following into your sites array:
-
icon: A URL to the social media icon that you wish to
use. Can be in SVG or PNG format.
-
src: The JavaScript that will be executed by selecting
the particular button.
-
label: The label that you wish to associate with this
sharing method. This will be returned via our API when
selected.
Example:
["reddit", {"src": "javascript:sharetoCustom();", "label": "mysite", "icon": "customicon.png"}, "linkedin"]
Default is ["facebook", "twitter", "email"]