Developers
Build apps that act for members who allow them: read their profile and friends, read and publish posts.
Share app
Put a Share button on your website: your visitors post your page's link on their timeline here in one click.
-
1
Add this code to your website, inside the head tag:
HTML<script> function SocialShare(url) { window.open('https://staging.ehna.online/share?url=' + encodeURIComponent(url), '', 'height=600,width=800'); } </script> -
2
Then place the Share button where you want it, with the address you want shared:
HTML<button onclick="SocialShare('https://yoursite.com/')">Share</button> -
3
Or share the page the visitor is on:
HTML<button onclick="SocialShare(window.location.href)">Share</button>