~tsileo/microblog.pub#72: 
Use webfinger to find remote account handle

Somewhat relevant to running microblog on a separate subdomain.

Currently, if you lookup an account on a Mastodon instance running on separate subdomain, for example https://social.vivaldi.net/users/alex - microblogpub shows its handle as @Alex@social.vivaldi.net. Which works, but is not perfect, since Mastodon itself shows it as @Alex@vivaldi.net.

To find this handle, you need to execute an extra request to https://social.vivaldi.net/.well-known/webfinger?resource=https://social.vivaldi.net/users/alex

  • and the "subject" field of response will contain desired information.
Status
RESOLVED IMPLEMENTED
Submitter
Alexey Shpakovsky
Assigned to
No-one
Submitted
2 months ago
Updated
a month ago
Labels
No labels applied.

~tsileo 2 months ago

Hey,

I wasn't aware of that.

Making an extra webfinger requests just to get the right/official domain, that would be useful only for a tiny percentage of actors is a bit painful. I wish it was embedded in the AP object.

Since a lookup for @Alex@vivaldi.net does work, I don't think this is a high-priority task, but I agree it would be nice to support.

Thanks!

Alexey Shpakovsky 2 months ago · edit

Sounds fair.

Thanks for the answer!

~tsileo REPORTED IMPLEMENTED a month ago

Hey, I finally pushed a fix for this, see https://todo.sr.ht/~tsileo/microblog.pub/89 for more context.

Thanks!

Register here or Log in to comment, or comment via email.