Webfinger
https://fedidevs.org/projects/server-apps/kbin/webfinger/
Kbin supports the Webfinger protocol for discovering the ActivityPub location of a user.
Example request:
The following request queries for eee@dev.karab.in
.
GET https://dev.karab.in/.well-known/webfinger?resource=acct:eee@dev.karab.in
Example response:
Person
{
"subject": "acct:eee@dev.karab.in",
"aliases": ["https://dev.karab.in/u/eee"],
"links": [
{
"rel": "http://webfinger.net/rel/profile-page",
"href": "https://dev.karab.in/u/eee",
"type": "text/html"
},
{
"rel": "self",
"href": "https://dev.karab.in/u/eee",
"type": "application/activity+json"
}
]
}
Group
{
"subject": "acct:fediverse@dev.karab.in",
"aliases": ["https://dev.karab.in/m/fediverse"],
"links": [
{
"rel": "self",
"href": "https://dev.karab.in/m/fediverse",
"type": "application/activity+json"
},
{
"rel": "http://webfinger.net/rel/profile-page",
"href": "https://dev.karab.in/m/fediverse",
"type": "text/html"
}
]
}