Web Share API: Difference between revisions

From IndieWeb
m ([tantek] added "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" to "See Also")
(now PR per https://www.w3.org/blog/news/archives/9773)
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{stub}}
<span style="background:white; float:right;"><img style="height:80px" src="https://indieweb.org/images/5/56/w3c-logo.svg"/></span>{{stub}}


'''<dfn>[https://w3c.github.io/web-share/ Web Share API]</dfn>''' is a draft specification for sharing text, links, and other content to an arbitrary destination.
'''<dfn>[https://www.w3.org/TR/web-share/ Web Share API]</dfn>''' is a [[W3C]] Candidate Recommendation for sharing text, links, and other content to a destination.
 
[[File:w3c-spec-PR.svg]]
* 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:'''
* '''[[webactions]]'''
 
== IndieWeb Examples ==
No known examples of personal indieweb sites implementing Web Share.


== See Also ==
== See Also ==
Line 8: Line 18:
* 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
* 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<br><br>The API is really nice, I did it in 5 mins, adding this to my manifest:<br><br>"share_target": {<br>  "action": "/feed/",<br>  "method": "GET",<br>  "params": {<br>    "title": "title",<br>    "text": "text",<br>    "url": "url"<br>  }<br>}" [https://ada.is @Lady_Ada_King] August 24, 2020
** "I set aside an afternoon to add make my Web App a "Web Share" Target<br><br>The API is really nice, I did it in 5 mins, adding this to my manifest:<br><br>"share_target": {<br>  "action": "/feed/",<br>  "method": "GET",<br>  "params": {<br>    "title": "title",<br>    "text": "text",<br>    "url": "url"<br>  }<br>}" [https://ada.is @Lady_Ada_King] August 24, 2020
* [[webactions]]

Revision as of 00:28, 16 December 2022


Web Share API is a W3C Candidate Recommendation for sharing text, links, and other content to a destination.

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