<api version="1.1">
const token = await auth();
"status": "success"
curl -X POST /api/authorize
Entwickler
Build amazing integrations with our powerful API
API Version 1.1 — Stable
Plugin teilen
Add social sharing functionality to your website with our easy-to-integrate Share Plugin.
1
Add the Script
Add the following code inside your <head> tag:
JavaScript
<script>
function SocialShare(url) {
window.open(
'https://scriptstribe.com/share?url=' + encodeURIComponent(url),
'share',
'height=600,width=800'
);
}
</script>
2
Add Share Buttons
Share a specific URL:
HTML
<button onclick="SocialShare('https://yoursite.com/page')">
Share
</button>
Share the current page:
HTML
<button onclick="SocialShare(window.location.href)">
Share This Page
</button>