cross-posted from: https://news.cosocial.ca/post/2263

I did a bunch of experiments today and … thoroughly confused myself, so I wrote down a bunch of things and took screenshots.

Here’s what I learned:

(I have more protocol info but ultimately this is the lived experience of working across different software systems, federation, and the actual client / front end web experiences that people interact through)

Paste Lemmy URLs

Various things “just work” by pasting URLs into the Mastodon web interface or the Mastodon mobile app.

Screenshot of Mastodon Web UI posting in a Lemmy URL

Posting the link to this post https://lemmy.ca/post/606549 finds this post

Clicking on the user profile shows me a profile for Doctor_Pi@lemmy.ca, with one post displayed. Including a follow button

Only one post is shown, because that’s all that’s available on the local server right now. If I chose to follow Doctor_Pi’s Lemmy account, I’d get all of their posts going forward. Both OPs (which has a link to the post on Lemmy.ca) as well as comments (which appear as replies).

Limited support on other clients

Other clients (Ivory on iOS) have extremely variable support. You can’t usually paste in Lemmy URLs, but you can paste in Lemmy accounts and follow them, and then see posts going forward.

Please leave a comment of what does / doesn’t work in your particular client.

Follow Lemmy users on Mastodon

Every Lemmy user can be followed on Mastodon. So, for example, my Lemmy account @boris@news.cosocial.ca. Paste that into the web interface of Mastodon or into the Mastodon native mobile app and you will find my Lemmy profile and can follow it.

Reply to a Lemmy post from Mastodon

If you reply to a Lemmy post using your Mastodon account, your reply will be posted as a comment. A user profile is created on the Lemmy instance.

I just did that with this very post, and it seems to have worked.

Screenshot of Boris' CoSocial Mastodon profile, viewed here

This is my boris@cosocial.ca Mastodon account, viewed through news.cosocial.ca as a local user profile. All of that info – including the images – are from my Mastodon profile.

The comment is technically originally on Lemmy.ca.

Create new OP post from Mastodon

You can create new OP posts directly from Mastodon. @-mention the group name, e.g. @vaneats@news.cosocial.ca.

Here’s my test post which ended up creating this post in /c/cosocial.

It works! Exactly how the post ends up looking in Lemmy is a bit variable, so more experimenting to be done

Follow Lemmy Communities on Mastodon

Screenshot of Masto Web interface of vaneats@news.cosocial.ca

Screenshot of vaneats through CoSocial Masto web interface. You can see a little “group” label next to the name

I can’t actually browse posts from here, don’t know if that’s a sync issue or what.

Here’s a screenshot of @vancouver@lemmy.ca which shows all the OP and comments.

All of the posts appear as boosts of the Lemmy accounts that are posting the content

Original

I reworked this post from a comment to LemmyCA Support on how the ActivityPub protocol works between Lemmy and Mastodon.

  • meliache@feddit.de
    link
    fedilink
    arrow-up
    10
    ·
    edit-2
    1 year ago

    I often share (“boost”) lemmy posts on mastodon. I would like to be able to add hashtags to the boosted post, because on mastodon I rely on hashtags to find content that interests me (e.g. I follow certain hashtag. Lemmy doesn’t need those because the general theme and topic is often obvious from the community context it was posted in, but this context is lost when sharing on mastodon. For example, when I post something in c/baduk@lemmy.ml, for lemmy users it will be clear that this post is about Baduk (the Korean name for the game of Go). But when I boost the post on my private mastodon, it’s not obvious anymore that this was posted in a Baduk community and the Baduk-interested people on mastodon will never see the post except if they follow me or the lemmy comunity. All solutions that come to my mind seem a bit awkward, are there any best-practices for that?

  • lixus98@kbin.social
    link
    fedilink
    arrow-up
    6
    ·
    1 year ago

    I think with time, compatibility between different services will become better, so far with lemmy limited compatibility and kbin with full compatibility, we are going in a good direction

    • grahamsz@kbin.social
      link
      fedilink
      arrow-up
      6
      ·
      1 year ago

      I’m also not sure the interface is quite right. There are maybe use cases where subscribing to a lemmy community or kbin magazine might make sense in Mastodon, but most of the time that feels like a weird use-case. It feels like I want to subscribe to my own feed of people who reply to me, then I could reply to them from Mastodon (except there’s no real link between my identities, which is messy)

      • Boris Mann@news.cosocial.ca
        link
        fedilink
        arrow-up
        4
        ·
        1 year ago

        My wishlist would be to be able to link Mastodon accounts to Lemmy accounts, so the Lemmy system “knows” it’s the same person. Including being able to edit the posts that come in from Mastodon, which right now is the biggest issue.

        This post as an example, I was framing it as a Masto post, and it’s pretty terrible on Lemmy. I’d focus on optimizing favourite/boost/comment from Mastodon as that is I think going to work best - comments don’t need first class titles, links, and feature images.

        For OPs, wouldn’t it be amazing if I could DM some links and images and stuff, and then login to Lemmy/kbin and have it appear as a draft, and then publish it natively with rich text tools on the Lemmy/kbin side.

        Subscribing via Mastodon works much better for me, even if I then go over and interact with my Lemmy account. I want both OPs and comments, and it’s easy enough to put in a list or otherwise manage notifications from my clients. Micro-blog native vs Thread native people are going to differ in their opinions here :)

      • lixus98@kbin.social
        link
        fedilink
        arrow-up
        2
        ·
        1 year ago

        Also this type of integration could be implemented, the projects are young enough to make big changes on how they work.

        • grahamsz@kbin.social
          link
          fedilink
          arrow-up
          1
          ·
          1 year ago

          Yeah absolutely, plus there’s lots of space for new entrants with different ideas for what a hybrid platform might look like. Some of them will surely be terrible but maybe there’s a magical do-it-all solution that we just haven’t imagined yet.

          Not having to recreate the community from scratch makes it so much easier for technologies to emerge

      • lixus98@kbin.social
        link
        fedilink
        arrow-up
        1
        ·
        1 year ago

        I think kbin has a good aproach to this, a completely different tab that allows you to make posts in the mastodon format. This could also be the case on lemmy some point, however I would understand if lemmy users don’t want this at all.

  • Wander@yiffit.net
    link
    fedilink
    arrow-up
    4
    ·
    1 year ago

    My biggest problem is that lemmy posts with images don’t show up with images on Mastodon.

  • Toothpickjim@lemmy.fmhy.ml
    link
    fedilink
    arrow-up
    4
    ·
    1 year ago

    I had problems getting this to work on several of the larger mastodon instances when I’ve tried it previously. I ended up moving to a completely different mastodon instance and it just worked as described

    • wakestOPM
      link
      fedilink
      arrow-up
      3
      ·
      1 year ago

      yeah there seem to be federation issues with lemmy.ml still, maybe cause its still getting hammered.

  • Boris Mann@cosocial.ca
    link
    fedilink
    arrow-up
    3
    ·
    1 year ago

    @wakest thanks for cross-posting! I’ll boost / respond to any comments that make it over to my server, which looks like mostly kbin accounts

  • HerrLewakaas@lemmy.world
    link
    fedilink
    arrow-up
    2
    ·
    1 year ago

    Great investigations! I think its very interesting that these two platforms can interact in a meaningful way, despite it probably wasn’t even intended to work that way. I wonder if in the future new federated platforms will choose to only show content that has been created using the same platform for the sake of a better user experience

  • Convecticus@lemmy.xcoolgroup.com
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    1 year ago

    I tried pinging a Mastodon account with a new post on a Lemmy instance, and failed to do so. Not sure if I missed the magic words or something, though.

    Edit: I guess a ping would work if it were in the subject, but not in the body. Which makes some sense with Mastodon, but had not occurred to me.