Comment on Unable to find myself in search, advice?
freamon@lemmy.world 9 months ago
Lemmy instances won’t search outside of their own databases if you’re not logged in.
But if you are, what it does can be recreated on a command-line by doing:
curl --header ‘accept: application/json’ https://nerdica.net/.well-known/webfinger?resource=acct:nate0@nerdica.net | jq .
This shows that your profile is at nerdica.net/profile/nate0. Lemmy puts all users at a /u/, but using webfinger means that other fediverse accounts don’t have to follow the same structure. For lemmy.world, you’re at lemmy.world/u/nate0@nerdica.net in the same way that a mastodon user is at e.g lemmy.world/u/MrLovenstein@mastodon.social.
All fediverse accouts use a keypair, so I don’t think that’s the reason why nostr accounts are so long. But if you webfinger yours, you get: {“error”:“Invalid host”}
so any ActivityPub instances will only ever be able to find you if you’ve interacted with them in some way to get a database entry.
N3M@reddthat.com 9 months ago
I assume Lemmy and Mastodon are the same way in that they won’t search outside their databases when logged out? If so that’d explain why. Thanks!
freamon@lemmy.world 9 months ago
I know for sure that Lemmy won’t, it’s likely the same for Mastodon.
I was wrong about not being able to WebFinger your account - I still had the @ at the beginning when I trying. Doing it properly:
curl --header 'accept: application/json' https://mostr.pub/.well-known/webfinger?resource=acct:910af9070dfd6beee63f0d4aaac354b5da164d6bb23c9c876cdf524c7204e66d@mostr.pub | jq .
gets the right response.
However, I’m logged into lemmy.world and it still couldn’t get your account. At a guess, it’s because there’s a 20 character limit on usernames.