hjr265.me / blog /

Links for Social Network Share Dialogs

You have a few options to add social network sharing buttons to your website or web app.

One, you can embed their JavaScript operating systems SDKs. If your site needs 21st-century Internet bloat, this is what you are looking for.

Two, you can use third-party share button JavaScript libraries. There are way too many of these out there. And they are just a “google” away. I will refrain from linking to any.

But if you know me, I prefer lean solutions. And nothing beats using simple anchor elements with links to social network share dialogs. This is the approach I took in Toph and other websites I have built.

In this post, I am sharing a list of links to share dialogs for various social network websites:

  • Facebook: https://facebook.com/sharer/sharer.php?u={url}
  • Twitter: https://twitter.com/intent/tweet/?text={text}&url={url}
  • LinkedIn: https://www.linkedin.com/shareArticle?mini=true&url={url}&title={text}
  • Telegram: https://telegram.me/share/url?text={text}&url={url}

Example:

Got links for more social network share dialogs? Please leave them in the comments below.


This post is 10th of my #100DaysToOffload challenge. Want to get involved? Find out more at 100daystooffload.com.


comments powered by Disqus