this post was submitted on 10 Jun 2024
229 points (99.6% liked)

Fediverse

28380 readers
1071 users here now

A community to talk about the Fediverse and all it's related services using ActivityPub (Mastodon, Lemmy, KBin, etc).

If you wanted to get help with moderating your own community then head over to [email protected]!

Rules

Learn more at these websites: Join The Fediverse Wiki, Fediverse.info, Wikipedia Page, The Federation Info (Stats), FediDB (Stats), Sub Rehab (Reddit Migration), Search Lemmy

founded 1 year ago
MODERATORS
 

For instance, this one (link to a post to [email protected]): https://reddthat.com/post/20260613

Pasting it in your search bar should give you this kind of results:

You can then click on it to access the post from your instance (in this example, lemmy.zip: https://lemmy.zip/post/16918691)

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 3 points 5 months ago* (last edited 5 months ago) (1 children)

Hey so check out what I just learned:

To post a link to a post, just search for the URL of the fediverse-icon version of it on your instance, then link directly to that search, chopping off the https://{your instance} from the front

And likewise for links to comments

You're still making the user do 2 clicks instead of 1, but it's still quite a lot more convenient than the other thing. It could be made even nicer (arguably "good enough") if the backend could transparently redirect to the first search result along the lines of "I'm feeling lucky," but it doesn't look like right now it can do that.

[–] [email protected] 3 points 5 months ago (1 children)

No I don't think comments works that way. For one, your search returns no results when accessed from on my instance, or from lemmy.world, etc. And for another, I have seen comments have different numerical tags after the instance name - e.g. mousing over the chain link icon vs. the colored fediverse graph sign icon shows the different values there.

[–] [email protected] 3 points 5 months ago* (last edited 5 months ago) (1 children)

Hm. So I understand the different comment IDs on different servers -- the point is that searching for https://discuss.online/comment/9004867 on lemmy.world should then return a link to that same comment, with the right ID number for lemmy.world, on lemmy.world. Because through its federation backend it's able to fetch the comment in question from discuss.online and then determine what is the local ID number on lemmy.world. Exactly the same as how it works for posts.

I just mucked around with it, and it works sometimes but not other times. I suspect that it's because of backed up federation queues or too-short timeouts or something, but it definitely works some of the time. If it's unreliable it may not be that good an idea to put into practice, though, of course.

[–] [email protected] 2 points 5 months ago

Here is an excellent comment from 3 days ago, so it should be federated everywhere by now? I just shared that link with someone else in fact, in an unrelated reply. I then went to Lemmy.World and searched for that link, but it does not find the original, although it does find my recent sharing of it. I also searched on reddthat.com, and saw the same behavior. And lemm.ee as well. So the "sometimes it works" effect may have some additional not-entirely-characterized triggers for that behavior, but it definitely does not work all the time as a "find this comment" feature as we are discussing.

So as it now stands there is a way to use this search feature to find posts, but not reliably to find comments. Though that is still more than I knew a week ago before Blaze shared this trick with me then:-).