Skip to content

Instantly share code, notes, and snippets.

@HoldOffHunger
Last active October 19, 2024 18:33
Show Gist options
  • Save HoldOffHunger/1998b92acb80bc83547baeaff68aaaf4 to your computer and use it in GitHub Desktop.
Save HoldOffHunger/1998b92acb80bc83547baeaff68aaaf4 to your computer and use it in GitHub Desktop.
Social Share URL's (Summary)
https://www.facebook.com/sharer.php?u={url}
https://www.facebook.com/dialog/share?app_id={app_id}&display={page_type}&href={url}&redirect_uri={redirect_url}
https://reddit.com/submit?url={url}&title={title}
https://twitter.com/intent/tweet?url={url}&text={title}&via={user_id}&hashtags={hash_tags}
https://www.linkedin.com/sharing/share-offsite/?url={url}
https://api.whatsapp.com/send?phone={phone_number}&text={title}%20{url}
https://www.tumblr.com/widgets/share/tool?canonicalUrl={url}&title={title}&caption={text}&tags={hash_tags}
http://pinterest.com/pin/create/button/?url={url}
https://www.blogger.com/blog-this.g?u={url}&n={title}&t={text}
https://www.evernote.com/clip.action?url={url}&title={title}
http://www.livejournal.com/update.bml?subject={title}&event={url}
https://getpocket.com/edit?url={url}
https://news.ycombinator.com/submitlink?u={url}&t={title}
https://share.flipboard.com/bookmarklet/popout?v=2&title={title}&url={url}
https://www.google.com/bookmarks/mark?op=edit&bkmk={url}&title={title}&annotation={text}&labels={hash_tags}
http://www.instapaper.com/edit?url={url}&title={title}&description={text}
https://share.diasporafoundation.org/?title={title}&url={url}
http://sns.qzone.qq.com/cgi-bin/qzshare/cgi_qzshare_onekey?url={url}&title={title}&summary={text}
http://vk.com/share.php?url={url}&title={title}&comment={text}
https://connect.ok.ru/dk?st.cmd=WidgetSharePreview&st.shareUrl={url}
http://service.weibo.com/share/share.php?url={url}&appkey=&title={title}&pic=&ralateUid=
http://www.douban.com/recommend/?name={title}&text={text}&comment={url}&href={url}
http://widget.renren.com/dialog/share?resourceUrl={url}&srcUrl={url}&title={title}&description={text}
https://www.xing.com/spi/shares/new?url={url}
threema://compose?text={url}&id={user_id}
sms:{phone_number}?body={url}{text}
https://web.skype.com/share?url={url}&text={text}
https://lineit.line.me/share/ui?url={url}&text={text}
https://t.me/share/url?url={url}&text={text}
mailto:{email_address}?subject={title}&body={url} {text}
https://mail.google.com/mail/?view=cm&to={email_address}&su={title}&body={url}&bcc={email_address}&cc={email_address}
http://compose.mail.yahoo.com/?to={email_address}&subject={title}&body={url}
@zahmedpk
Copy link

This saved my time.

@HoldOffHunger
Copy link
Author

@guillaumerangheard : Thanks for the heads up! I updated the gist, and will make similar updates to the github project in the coming weeks.

@nana0f2
Copy link

nana0f2 commented May 12, 2020

Is there a URL for messenger?

@HoldOffHunger
Copy link
Author

Hey, nana0f2,

Apparently there is! https://developers.facebook.com/docs/sharing/reference/send-dialog#examples

I'll update the list above and add this, thanks for mentioning! I'll also update the base repo.

@nana0f2
Copy link

nana0f2 commented May 12, 2020

Thank You. I decided I do not want to use Facebook itself for a while (too much drama). However, I would like to continue using just messenger to send some things to certain friends. So a share direct would be great.

@HoldOffHunger
Copy link
Author

HoldOffHunger commented May 12, 2020

I have made the following updates:

  • Remove dead sites: AddThis, Buffer, Flattr, Weibo, SurfingBird.
  • New params available for old sites: QZone, Douban, SMS, Email, Gmail, Telegram.me.
  • Services sorted by type and popularity, such that, overall, services should be now sorted according to the expected use by users. I.E., top url's are: Facebook, Reddit, Twitter, Linkedin, Whatsapp, and these are, in fact, the five most used services. The rating of services was done using Alexa site statistics.

Feel free to check into the main project: https://github.com/bradvin/social-share-urls

@HoldOffHunger
Copy link
Author

Updates:

  • 2 weeks ago, Weibo was down.
  • After concerted testing today with various parties, it seems Weibo is now up.

Re-added Weibo to the list.

@thbighead
Copy link

I would add the https://web.whatsapp.com/send?text={message} to the list because when using https://api.whatsapp.com/send?phone={phone_number}&text={title}%20{url} from a desktop web browser it doesn't work as expected even if you already have a web whatsapp session.

@HoldOffHunger
Copy link
Author

Hey hey, thanks for reaching out, I'm always on the lookout for problems. But it seems like the URL works fine? I just checked by clicking it right now: https://i.imgur.com/bLe2QfL.jpg

@thbighead
Copy link

thbighead commented Jul 3, 2020

Hey hey, thanks for reaching out, I'm always on the lookout for problems. But it seems like the URL works fine? I just checked by clicking it right now: https://i.imgur.com/bLe2QfL.jpg

In your example you're using a defined phone number, but when we do add a WhatsApp icon on a blog post, for example, so any user reading can share it with their contacts we can't (and shouldn't) know his/her phone number and use it to build the url like this. Even https://api.whatsapp.com/send?phone={phone_number}&text={title}%20{url} can be used without the query param phone like this: https://api.whatsapp.com/send?text={title}%20{url} and that probably is the most used way of this URL, but when used like this in a desktop web browser it doesn't build the message on a web whatsapp session, only a simple window is displayed without any url or text predefined. That's why https://web.whatsapp.com/send?text={message} may be useful.

@HoldOffHunger
Copy link
Author

Well, all of the params are optional, for all of the services, except in a few cases where appid is used. Like, for instance the mailto: API links. You don't actually have to fill in all to/from/subject/content fields.

@thbighead
Copy link

Well, all of the params are optional, for all of the services, except in a few cases where appid is used. Like, for instance the mailto: API links. You don't actually have to fill in all to/from/subject/content fields.

I understand it. I think I'm not being clear what's the problem so checkout these images (pay attention into each description): https://imgur.com/a/W2WZm8h

@MrMerkin
Copy link

Thanks for sharing this. Big time saver.

@zanderwar
Copy link

Google+ link is dead too, they no longer support it.

@tobilektri
Copy link

Threema now supports a web url instead of a mobile-only-url.

Old but still supported: threema://compose?text={url}&id={user_id}

New: https://threema.id/compose?text={url} or: https://threema.id/ABCDEFGH?text={url}

See: https://threema.ch/en/faq/url_actions

@BjoernMausJ
Copy link

Hallo,

kann man Telegram und Signal (auch WhatsApp als App und nicht als Browser-Aufruf) als App aufrufen? Die sind ja auf dem PC nun verfügbar als eigenständige App.

Das wär toll - Signal/Telegram/WhatsApp - App-Aufruf...

Viele Grüße Björn

@AssekoudaSamtou
Copy link

Hi everybody. Thank you for sharing these links.
Is there a share link for Instagram ?

@HoldOffHunger
Copy link
Author

Hi everybody. Thank you for sharing these links. Is there a share link for Instagram ?

Instagram is an image-posting application. What image could you possibly want someone to post on your behalf?

@AssekoudaSamtou
Copy link

Hi everybody. Thank you for sharing these links. Is there a share link for Instagram ?

Instagram is an image-posting application. What image could you possibly want someone to post on your behalf?

Got you. Thanks

@rgla
Copy link

rgla commented Nov 10, 2022

Hi,
I propose to create a template for MASTODON.
Thank you
Ray

@HoldOffHunger
Copy link
Author

Hi, I propose to create a template for MASTODON. Thank you Ray

Mastodon is not a social network, it's an open-source social networking application. Anyone can download it and create a social network, which can be configured with different links, but, there is no "one website" for Mastodon, it doesn't exist on any specific domain.

We have a share link for blogger, because, blogger.com is a social network. Where is Mastodon's domain? pettingzoo.co, or hijackbigplanes.com, or mysocialnetworkateyoursocialnetwork.abc , or whatever you choose. So there's no URL we can put up above that works for all Mastodon instances.

@DetroitLibertyPenguin
Copy link

@rgla @HoldOffHunger

For Mastodon:

https://instance-URL/share?text={title}%20{url}

Replace instance-URL with your Mastodon server’s hostname, like mastodon.social.

For Mastodon.social server:

https://mastodon.social/share?text={title}%20{url}

@terremoth
Copy link

Awesome!!! Thanks a lot for that!

@terremoth
Copy link

terremoth commented Oct 14, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment