Mastodon Share Button


#1

Hallo,

is there something like a share button function for mastodon? I would like to implement one on my blog. For diaspora there are solutions. If you click on the diaspora share button you get transferred to this page:

https://share.diasporafoundation.org/?url=https%3A%2F%2Fscroom.de%2Fthe-fediverse-strikes-back-mastodon-und-die-hoffnung-auf-eine-befreiung-unserer-sozialen-netzwerke%2F&title=The+Fediverse+strikes+back+–+Mastodon+und+die+Hoffnung+auf+eine+Befreiung+unserer+Sozialen+Netzwerke

Is there a similar page for mastodon?

Thanks in advance!


WordPress plugin(s) featuring Mastodon (GNUSocial, Diaspora...) sharing buttons
#2

I also have searched for it and found this.

Following to the above resources, You can implement It by just creating URL which starts with the protocol web+mastodon://.

  • share: web+mastodon://share?text= + text to share which is URL encoded
  • follow: web+mastodon://follow?uri=acct: + example_account@domain.com

Example:
<a href="web+mastodon://share?text=I'm%20sharing%20my%20text!">Share text</a>

Share text


WordPress plugin(s) featuring Mastodon (GNUSocial, Diaspora...) sharing buttons
#3

web+mastodon protocol handler has been removed.
Is there any way to handle this without protocol handler?


#4

https://discourse.joinmastodon.org/t/mastoshare-v-1-0/609/2