Open tiptoptom opened 2 years ago
While you are at it, add also "payment:mercado_pago". A payment method (and more) widely used in Latin America.
I think for Mastodon the Username must be converted to a weblink as follows: username@server.org https://server.org/@username
mostly correct @tiptoptom. It should NOT be done by splitting the handle and assuming https://$HOST/$USER
. To do it correctly you MUST do GET https://server.org/.well-known/webfinger?resource=acct:username@server.org
to determine the actual page the user lives on. For example for myself (daniel@schep.me
which is actually at https://social.schep.me
), GET https://schep.me/.well-known/webfinger?resource=acct%3Adaniel%40schep.me
returns
{
"subject": "acct:daniel@schep.me",
"aliases": [
"https://social.schep.me"
],
"links": [
{
"rel": "http://webfinger.net/rel/profile-page",
"type": "text/html",
"href": "https://social.schep.me/"
},
{
"rel": "self",
"type": "application/activity+json",
"href": "https://social.schep.me"
},
{
"rel": "http://ostatus.org/schema/1.0/subscribe",
"template": "https://social.schep.me/admin/lookup?query={uri}"
}
]
}
more info at https://webfinger.net/
Show contact:mastodon=* if it's tagged in the POI details.