Skip to content

Instantly share code, notes, and snippets.

@mohitsadaria
Forked from Suaz/Social Sharing URLs
Created August 3, 2021 07:06
Show Gist options
  • Save mohitsadaria/118b6b40352d7102fddf36cb0f4d4cfd to your computer and use it in GitHub Desktop.
Save mohitsadaria/118b6b40352d7102fddf36cb0f4d4cfd to your computer and use it in GitHub Desktop.
Facebook:
http://www.facebook.com/sharer.php?u=[post-url]
Twitter:
https://twitter.com/share?url=[post-url]&text=[post-title]&via=[via]&hashtags=[hashtags]
Google+:
https://plus.google.com/share?url=[post-url]
Pinterest:
https://pinterest.com/pin/create/bookmarklet/?media=[post-img]&url=[post-url]&is_video=[is_video]&description=[post-title]
LinkedIn:
http://www.linkedin.com/shareArticle?url=[post-url]&title=[post-title]
BufferApp:
http://bufferapp.com/add?text=[post-title]&url=[post-url]
Digg:
http://digg.com/submit?url=[post-url]&title=[post-title]
Tumblr:
http://www.tumblr.com/share/link?url=[post-url]&name=[post-title]&description=[post-desc]
Reddit:
http://reddit.com/submit?url=[post-url]&title=[post-title]
StumbleUpon:
http://www.stumbleupon.com/submit?url=[post-url]&title=[post-title]
Delicious:
https://delicious.com/save?v=5&provider=[provider]&noui&jump=close&url=[post-url]&title=[post-title]
Evernote:
http://www.evernote.com/clip.action?url=[post-url]&title=[post-title]
Email:
$email = 'mailto:?subject=' . $[post-title] . '&body=Check out this site: '. $[post-url] .'" title="Share by Email';
WordPress:
http://wordpress.com/press-this.php?u=[post-url]&t=[post-title]&s=[post-desc]&i=[post-img]
Pocket:
https://getpocket.com/save?url=[post-url]&title=[post-title]
Argument
[post-url] The url for your blog post
[post-img] The image/thumbnail for your blog post
[post-title] The blog post title of the url you want to share
[post-desc] A longer description of the blog post content you are sharing
[post-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
[is_video] If the content is a video or not
source:https://crunchify.com/list-of-all-social-sharing-urls-for-handy-reference-social-media-sharing-buttons-without-javascript/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment