@mhall119 Nothing ready to use. But you can call https://mastodon.cloud/share?text=message_you_want_to_add. To make it generic you need to have two input fields to add the Mastodon instance and the message someone want to send. I use it for share buttons on my blog, you can see it here if you scroll down: https://www.schiessle.org/articles/2017/11/14/software-freedom-in-the-cloud/ Code is here: https://gitlab.com/BeS/hugo-sustain-ng/blob/master/static/share.php
@bjoern Thanks Bjorn! Having to enter a mastodon instance isn't a great experience though, I couldn't actually remember which one I use :(
You could also have a drop down with the most common used instances. But that's the downside of decentralization, there is no central server for everyone. If you find a better solution I'm happy to hear about it but I fear there is none. :(
How do you want to make sure that mastodon.rocks knows all instances and all users out there? Everybody can set up a instance at any time and/or register a user on any instance.
@mhall119 It seems impossible because you, the Web page author, do not know the instance used by the Web page reader.
(And I think it is a bad idea, anyway. Sharing should be controlled by the user, for instance with https://addons.mozilla.org/fr/firefox/addon/sharethis/ )
@bortzmeyer Sharing would be controlled by the user, just allowing them to initiate the action and pre-populate text from the webpage
Everyone is welcome as long as you follow our code of conduct! Thank you. Mastodon.cloud is maintained by Sujitech, LLC.