How can I link to a Lemmy post in a way that another Lemmy user that can view the linked page without the “You must log in or sign in to vote or comment” message (when they are already logged in)?

And vice versa: how can I click on a Lemmy link and not get that problem?

  • Rentlar@lemmy.ca
    link
    fedilink
    arrow-up
    13
    ·
    4 days ago

    The proper way to link to someone’s post or comment is to copy the Permalink, or the URL at the rainbow star logo symbol. That doesn’t really solve your issue though.

    Some apps automatically convert links to avoid the logged out issue, some don’t.

    Another solution is https://lemmyverse.link/ to make lemmy links server agnostic.

    • klu9@lemmy.caOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      3 days ago

      Thanks.

      I’ve been trying out some front ends the last few weeks (Tess first, now Alexandrite) so didn’t see the rainbow button.

      I think the equivalent in Alexandrite is the Original Post button, which for this post gives this:

      https://lemmy.ca/post/42943146 (which opens in “regular” Lemmy web)

      I don’t see one on comments.

      If I give lemmyverse.link the URL straight from my current Alexandrite front end, it gives me an error:

      https://alex.lemmy.ca/lemmy.ca/post/42943146

      We don’t support this link :/

      If you think that’s a mistake, please let us know on GitHub: https://github.com/RikudouSage/lemmyverse.link

        • Rentlar@lemmy.ca
          link
          fedilink
          arrow-up
          1
          ·
          edit-2
          2 days ago

          Correct. The frontend URL solves the problem for you in a sense, when you open alex.lemmy.ca/[other server address]/post/[other server post #] you can stay logged into lemmy.ca and it shows the correct thing.

          The idea though, is that each client (at the moment, Lemmy v1.0 may change this) is expected to handle it their own way, so the original URL is ideal (other frontends call this Permalink) if you are making a lemmylink redirect link. Does the linked clips icon for someone not on your server give a link to their server or one to Lemmy.ca? The original one is always the on the originating server of the person who submitted the post or comment.

          • klu9@lemmy.caOP
            link
            fedilink
            English
            arrow-up
            1
            ·
            2 days ago

            Does the linked clips icon for someone not on your server give a link to their server or one to Lemmy.ca?

            Sorry, no idea. And I don’t know what the “linked clips icon” is.

            • Rentlar@lemmy.ca
              link
              fedilink
              arrow-up
              2
              ·
              2 days ago

              Nvm that gives the frontend link only. Link to original comment doesn’t appear to be a feature on alex.lemmy.ca. However there’s only one extra step you need to do.

              You just have to remove the alex.lemmy.ca/ part before the actual server name to obtain the original URL.

              • klu9@lemmy.caOP
                link
                fedilink
                English
                arrow-up
                1
                ·
                2 days ago

                Ah, I tried removing just the alex. part , without success. Didn’t notice the duplication of the lemmy.ca/ part.