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}
https://www.facebook.com/sharer/sharer.php?u={URL}
https://www.linkedin.com/sharing/share-offsite/?url={URL}
Telegram
https://t.me/share/url?url={URL}&text={TEXT}
https://api.whatsapp.com/send?text={TEXT}%20{URL}
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
});
}