Web Share API
Web Share API is a W3C Recommendation (as of 2023-05-30) for sharing text, links, and other content to a destination.
- Latest published version: https://www.w3.org/TR/web-share/
- Latest draft: https://w3c.github.io/web-share/
For specific user actions like reply, like, and repost buttons on a post, or a follow button on a profile or homepage, see:
IndieWeb Examples
No known examples of personal indieweb sites implementing Web Share.
See Also
- How to Use the Web Share API
- How to use AddToAny as a fallback for the Web Share API
- Thread how to setup your site so you can post to it via Web Share in browsers: https://twitter.com/lady_ada_king/status/1297902260173918210
- "I set aside an afternoon to add make my Web App a "Web Share" Target
The API is really nice, I did it in 5 mins, adding this to my manifest:
"share_target": {
"action": "/feed/",
"method": "GET",
"params": {
"title": "title",
"text": "text",
"url": "url"
}
}" @Lady_Ada_King August 24, 2020
- "I set aside an afternoon to add make my Web App a "Web Share" Target
- webactions