I just tried to see a post from the feddit.cl instance using the open in browser option, but the browser loaded a lemmy.world link instrad. Is that working as intended or a weird hiccup?

  • itsmistermoon@feddit.clOP
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    For reference, this is the original post on the propper instance:

    https://feddit.cl/post/307656

    And this is the link that the app sent me to:

    https://lemmy.world/post/3097016

    Now that I see it more clearly, the OP is from lemmy.world but the community’s instance is feddit.cl, could that be the reason? I’m still figuring out how the whole federation thing exactly works on lemmy (I’m more used to Mastodon, thought that’s a lot more straightforward).

    • infinite_zeroM
      link
      fedilink
      English
      arrow-up
      1
      ·
      edit-2
      1 year ago

      The normal way federation functions is by sharing the link from the viewer’s home instance.

      For example, this thread’s link is shared from my web interface as https://sh.itjust.works/post/2774802 because I am logging in from sh.itjust.works.

      It appears that Bean shares the link from lemmy.world as it it hard-coded into the share feature, likely due to it being Steve’s home instance.

      • steve228uk@lemmy.worldM
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 year ago

        This is correct, I’m linking to the ap_id from the API which I believe stands for “ActivityPub ID” (I can’t say for certain because it’s undocumented)

        This is where the post originated from before it was federated.

        Perhaps I should add two links: one that opens on your instance, and one that opens the original post?

        What’s your use-case for wanting it on your insurance?

        • infinite_zeroM
          link
          fedilink
          English
          arrow-up
          3
          ·
          1 year ago

          I don’t think there is any reason for a dedicated link to a user’s home instance. This is more of an “everyone is still learning about this federation thing” question.