this post was submitted on 03 Apr 2024
36 points (67.0% liked)
Fediverse
28281 readers
677 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
Doesn't seem to work.
$ curl https://threads.net/.well-known/webfinger?resource=acct:potus@threads.net
{"subject":"acct:potus@threads.net","links":[{"href":"https://threads.net/ap/users/17841445266116124/","rel":"self","type":"application/activity+json"},{"href":"https://www.threads.net/@potus","rel":"http://webfinger.net/rel/profile-page","type":"text/html"}]}
$ curl https://threads.net/ap/users/17841445266116124/
{"success":false,"error":"Not found"}
Weird, maybe you have to use an ActivityPub server to complete the lookup? I managed to get it to work with Mastodon and Akkoma, but haven't tried anything else.
Edit: alternatively, try doing a Webfinger lookup for
@potus@threads.net
directly?I was testing it with curl because my self-hosted Mastodon server doesn't find it.
The leading @ is incorrect for a webfinger account lookup.
$ curl https://threads.net/.well-known/webfinger?resource=acct:@potus@threads.net
{"success":false,"error":"Not found"}