Sharing is Caring. Get access to web services that provide comprehensive sharing capabilities to 120 social destinations.
Web Share API Methods
- Basic Link Sharing API – Share a URL to all supported social destinations by opening a new browser tab.
- URL shortening – Returns a shortened URL based on the ShareThis shar.es shortening system.
Use the Web Share API on Your Website
1. Basic Link Sharing API
This is the most basic method of sharing a link to social destination. A new browser tab is opened to redirect the user to the share endpoint of the chosen social network.
|destination||Selected social destination||string (required)|
|url||The URL of the page. Important Note: The URL and title parameters must be url encoded.||string (required)|
|title||The title of the page; if no title is specified than the URL becomes the default title||string (optional)|
2. URL Shortening
Shortens the URL by using the ShareThis shortener. Note: You can use other popular shortening services, but ShareThis will be unable to provide deeper analytics on the social behavior of your shared content.
|url||Source URL to shorten||string (required)|