Instantly share code, notes, and snippets.

Embed
What would you like to do?
SOCIAL: Share intents on major platforms

Twitter

<a href="http://twitter.com/intent/tweet?url={url_encoded_url}&amp;text={url_encoded_text}&amp;hashtags={url_encoded_hashtags}">Tweet This</a>

Tumblr

<a href="http://www.tumblr.com/share/link?url={url_encoded_url}&amp;name={url_encoded_post_title}&amp;description={url_encoded_post_text}">Share on Tumblr</a>

Reddit

<a href="http://www.reddit.com/submit?url={url_encoded_url}&amp;title={url_encoded_title}">Share on Reddit</a>

LinkedIn

<a href="http://www.linkedin.com/shareArticle?mini=true&url={url_encoded_url}&title={url_encoded_title}">Share on LinkedIn</a>

Pinterest

<a href="http://www.pinterest.com/pin/create/button/?url={url_encoded_url}&amp;media={url_encoded_image_url}&amp;description={url_encoded_description}">Pin It</a>

Google+

<a href="https://plus.google.com/share?url={url_encoded_url}">Share on Google +</a>
<!-- consult OG tags -->

Facebook

<a href="https://www.facebook.com/sharer/sharer.php?u={url_encoded_url}">Share on Facebook</a>
<!-- consult OG tags -->

Open Graph tags

<meta property="og:title" content="{title}">
<meta property="og:image" content="{image_url}">
<meta property="og:description" content="{description}">
<meta property="og:site_name" content="{site_name}">
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment