This is intended to help you share your content on all the popular social networks.
Argument | Description | Used By |
---|---|---|
{url} | The url you want to share (encoded) | All |
{img} | The image/thumbnail to use when sharing | Most |
{title} | The page title of the url you want to share | Most |
{desc} | A longer description of the content you are sharing | Most |
{app_id} | The App ID | |
{redirect_url} | The url a sharer will be redirected to after a successful share | |
{via} | optional Twitter username of content author (don't include "@") | |
{hashtags} | optional Hashtags appended onto the tweet (comma separated. don't include "#") | |
{provider} | Company who is sharing the url | Delicious |
{is_video} | If the content is a video or not |
Facebook has two methods of sharing. The "Sharer" link is simple but the preferred Facebook way is using the Share Dialog. This method does require an app id but offers more flexibility.
http://www.facebook.com/sharer.php?u={url}
https://www.facebook.com/dialog/share?app_id={app_id}&display=page&href={url}&redirect_uri={redirect_url}
https://twitter.com/share?url={url}&text={title}&via={via}&hashtags={hashtags}
https://plus.google.com/share?url={url}
https://pinterest.com/pin/create/bookmarklet/?media={img}&url={url}&is_video={is_video}&description={title}
http://www.linkedin.com/shareArticle?url={url}&title={title}
http://bufferapp.com/add?text={title}&url={url}
http://digg.com/submit?url={url}&title={title}
https://www.tumblr.com/widgets/share/tool?canonicalUrl={url}&title={title}&caption={desc}
http://reddit.com/submit?url={url}&title={title}
http://www.stumbleupon.com/submit?url={url}&title={title}
https://delicious.com/save?v=5&provider={provider}&noui&jump=close&url={url}&title={title}