Let’s say I’m visiting lemmy.ml/post/1234, and I’d like to view the same post but under lemmy.world. is there a pattern or something I can do to do this?

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

      That works for users and communities, not for posts or comments. Posts & comments have different IDs on each instance.

      Current best way to do that is to copy the title, go to search on your instance, filter by the community you’re looking at, and switch to “Posts” search. Not amazing, but it’s the best we got atm.

      • tubbadu@lemmy.worldOP
        link
        fedilink
        English
        arrow-up
        2
        ·
        1 year ago

        I’d like to write a browser addon that displays a button in each lemmy instance that when clicked redirects you to the same post in your home instance, so I’m searching for a way to do this unequivocally. there could be two posts with the same title and hypothetically also with the same body, so there must be another way…

        • Barbarian
          link
          fedilink
          English
          arrow-up
          1
          ·
          1 year ago

          That sounds like a very difficult circle to square.

          If you notice this icon:

          That button takes you to the “original” version, with the ID of that comment/post on the home instance of whoever posted it. I’d start by looking into how that button works on the github page. I don’t know typescript, so I don’t know where to look there, but it’s gotta be coded somewhere

  • Illecors@lemmy.cafe
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    1 year ago

    I have seen a pattern somewhere, but could never reproduce. It was the same as for communities:

    [Awesome post](/post/[email protected]) should look nice - Awesome post

    Clicking the produced link crashes Jerboa 0.33 and does nothing in a browser.

  • Edo78@feddit.it
    link
    fedilink
    English
    arrow-up
    0
    ·
    1 year ago

    just copy and past the url of the post from the other instance in the search of the instance you are logged in

    • tubbadu@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      0
      ·
      1 year ago

      I tried searching for lemmy.ml/post/1235585 in my lemmy.world instance and it found noting

      • Edo78@feddit.it
        link
        fedilink
        English
        arrow-up
        2
        ·
        1 year ago

        Interesting. I did a test and I was able to find a post from another instance but maybe it was already known on my instance … Not sure, sorry