this post was submitted on 14 Jun 2023
12 points (100.0% liked)

Programming

13368 readers
1 users here now

All things programming and coding related. Subcommunity of Technology.


This community's icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.

founded 1 year ago
MODERATORS
 

I'm confused about how I can link Mastodon and Lemmy sites, say. I have an account on Fosstodon. Can I use it to access and post to https://beehaw.org/c/programming for example? I can follow @programming but that's not the same thing? The beehaw site says to search for [email protected] but this returns nothing (with the ! prefix) on fosstodon. Am I missing something? #lemmy #fediverse #beehaw

top 13 comments
sorted by: hot top controversial new old
[–] [email protected] 6 points 1 year ago (2 children)

This is a situation where you CAN technically do this, but I really wouldn't recommend it. I have separate lemmy and mastodon accounts because accessing lemmy from mastodon is an awful experience.

[–] [email protected] 2 points 1 year ago

Yeah, this. My mastodon timeline became quite unreadable, just a flood of lemmy links, if you follow a more active community.

[–] [email protected] 1 points 1 year ago

@jpm @communist Can confirm, am on mas.to right now replying to this post and it's kind of messy

[–] [email protected] 3 points 1 year ago (1 children)

@jpm

Think of Lemmy as being just a different Mastodon client that happens to display things to their users with a different skin.

You interact with content on a Lemmy instance the same way as you interact with content on a different Mastodon instance.

(Technically they’re both ActivityPub clients, for the more correct terminology)

There do seem to be some kinks to iron out between the clients, though. The ! thing might be one where they disagree on how to handle it.

@programming

[–] [email protected] 2 points 1 year ago

I think this is an oversimplification. ActivityPub is the server-to-server protocol. Mastodon and Lemmy each have different client protocols. I think the ! search syntax is part of the Lemmy client protocol specifically, and won't work on Mastodon.

Lemmy communities will appear on Mastodon as though they are users. So you can find the programming community on Mastodon by searching for @[email protected]. If you @mention that account your post becomes a thread on Lemmy. You can follow it, but beware that you will get all replies in your Mastodon feed, not just top-level threads.

[–] [email protected] 2 points 1 year ago

@jpm @programming

I've demonstrated how to do it here: https://hachyderm.io/@maegul/110483509521476095

In the second post is a link to the what the post looks like on lemmy.

The demo uses @ test @ lemmy.ml. Which is for testing things. So you can muck around with it too or other similar communities on other lemmy instances if they exist.

[–] [email protected] 2 points 1 year ago* (last edited 1 year ago)

If you search for https://beehaw.org/c/programming instead - a.k.a. the URL instead of the Lemmy-syntax of [[email protected]](/c/[email protected]) - then you should find it as a "person" on Mastodon. Messaging to that "person" is the same as creating a new post in the community, replying to one of its boosts is the same as commenting - or replying to a comment.

[–] [email protected] 1 points 1 year ago (3 children)

@jpm @programming You literally just did it! By tagging @[email protected], you created a new post. The replies you're getting on Mastodon are showing up as threaded replies on beehaw.

[–] [email protected] 1 points 1 year ago

@awilbert @jpm @programming this is the first example I've seen of this interoperability. Really cool, thanks for sharing!

[–] [email protected] 0 points 1 year ago (1 children)

@awilbert @jpm @programming Are you aware if there's some documentation on how this works?

[–] [email protected] 2 points 1 year ago

@heatrunner @jpm @programming Not that I know of, but i'm sure there is somewhere. I think most of us are in the "poke it with a stick and see what happens" phase.

[–] [email protected] 0 points 1 year ago (1 children)

You're telling me this post was created automatically because he tagged this community in his mastodon post? And my comments appear there as well?

[–] [email protected] 2 points 1 year ago

@MaggiWuerze Yes! I'm replying from mastodon too!