This page is not available in every language. Missing translations are disabled in the language selector.

Quick reference

Web Share Links Cheatsheet

A quick reference guide for generating social media share URLs: Twitter/X, Facebook, LinkedIn, Pinterest, Telegram, WhatsApp, and Reddit.

· Published

Direct URL schemes allow web pages to provide social sharing buttons without requiring heavy third-party JavaScript tracking widgets.

Share URL Endpoints

Twitter / X

https://twitter.com/intent/tweet?url={URL}&text={TEXT}&via={USER}&hashtags={TAGS}

Facebook

https://www.facebook.com/sharer/sharer.php?u={URL}

LinkedIn

https://www.linkedin.com/sharing/share-offsite/?url={URL}

Telegram

https://t.me/share/url?url={URL}&text={TEXT}

WhatsApp

https://api.whatsapp.com/send?text={TEXT}%20{URL}

Reddit

https://reddit.com/submit?url={URL}&title={TITLE}

Native Web Share API (Modern Browsers)

if (navigator.share) {
  navigator.share({
    title: document.title,
    text: 'Check out this cheatsheet!',
    url: window.location.href
  });
}

References

Related topics