Is there a way I can easily put a button on my website to let people share the current page to their preferred Lemmy instance? Like it exists for other social media sites and some fediverse platforms.
A bookmarklet would be cool as well.
Edit: I am aware of “create_post?community_id=XXXX” but is there a non-numerical way to specify the community? Also how to pass over links and title? Maybe even a short text snippet?
You must log in or register to comment.
So this seems to work:
https://lemmy.ml/create_post?url=https://google.com
i.e.
/create_post?url=${tabUrl}&title=${tabTitle}
But is there also a way to pass message body?
Edit:
https://lemmy.ml/create_post?body=message text
works :)