How to make an instance-independent link to a post or comment?

3 years ago by Spzi to c/asklemmy

There are instance-independent links to communities, for example: FindAKbin@kbin.social.

The good thing about it is, it will keep you on your home instance logged in while visiting the target.

How to make a similar thing to link to specific posts, or specific comments?

mermitian 3 points 3 years ago

I cannot see the comment on my instance, but still wanted to reply to it

The IDs from one instance to another don’t line up.

This is true for now, but some good news is that work is done to change this, which you can see on Github

path: 0 404013, hotness: undefined, score: 3, children: 1
mermitian 1 point 3 years ago path: 0 404013 404078, hotness: undefined, score: 1, children: 0
airportline 1 point 3 years ago path: 0 398493, hotness: undefined, score: 1, children: 0
mermitian 1 point 3 years ago

You cannot really do this yet, the closest thing is taking the federated url and using the search function of your instance. Which, I think, only works if the content is already federated.

I’m slowly working on a website that can do this automatically, by using the API to look up the content on your instance of choice

path: 0 407203, hotness: undefined, score: 1, children: 0
asklemmy
asklemmy

@lemmy.ml

login for more options
55847
8812
3734

A loosely moderated place to ask open-ended questions

Search asklemmy �*

If your post meets the following criteria, it's welcome here!

  1. Open-ended question
  2. Not offensive: at this point, we do not have the bandwidth to moderate overtly political discussions. Assume best intent and be excellent to each other.
  3. Not regarding using or support for Lemmy: context, see the list of support communities and tools for finding communities below
  4. Not ad nauseam inducing: please make sure it is a question that would be new to most members
  5. An actual topic of discussion

Looking for support?

Looking for a community?

Icon by @Double_A@discuss.tchncs.de

go to feed...