this post was submitted on 03 Nov 2023
1326 points (99.3% liked)
Fediverse
28195 readers
197 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 !moderators@lemmy.world!
Rules
- Posts must be on topic.
- Be respectful of others.
- Cite the sources used for graphs and other statistics.
- Follow the general Lemmy.world 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
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
At first I was thinking a GUID might be impossible because of federation, but a simple implementation might be to use the post ID from instance the community lives on
So something like
Display https://lemmy.ca/c/cats/123444 for
lemmy.ca/post/123444
Display https://lemmy.world/c/cats@lemmy.ca/1234444 for
lemmy.world/post/98736
The point of random GUIDs is that there are so many that it's effectively impossible to generate duplicates just by random chance. They'd be perfect for this.
The initial instance picks it, and then the federated instances use it.
Hi there! Looks like you linked to a Lemmy community using a URL instead of its name, which doesn't work well for people on different instances. Try fixing it like this: !cats@lemmy.ca, !cats@lemmy.ca/1234444
This bot needs a "that was intentional, delete your comment" option