toddsundsted / ktistec

Single user ActivityPub (https://www.w3.org/TR/activitypub/) server.
GNU Affero General Public License v3.0
350 stars 21 forks source link

Is following an account in Threads supported? #74

Open vrthra opened 12 months ago

vrthra commented 12 months ago

Currently having issues with following a threads account from Ktistec 2.0.0-8

image
toddsundsted commented 10 months ago

i haven't had a chance to debug, but that URL returns HTML regardless of what the Accept header asks for. it's not clear to me whether or not threads supports activitypub and/or when that support will happen. unfortunately, for the time being at least, ktistec expects activitypub, and at least as implemented that means recognizing that header.

EvanKrall commented 4 months ago

Threads' ActivityPub support seems to be coming along. At the moment it seems like only Threads accounts that opt in to ActivityPub will be available. While danluu.danluu is not opted in, mosseri seems to be:

$ curl https://www.threads.net/.well-known/webfinger?resource=acct:danluu.danluu@threads.net
{"success":false,"error":"Not found"}

$ curl https://www.threads.net/.well-known/webfinger?resource=acct:mosseri@threads.net
{"subject":"acct:mosseri@threads.net","links":[{"href":"https://www.threads.net/ap/users/mosseri/","rel":"self","type":"application/activity+json"}]}

However, the href returned (https://www.threads.net/ap/users/mosseri/) gives a 404, and Ktistec chokes on that.

image

When I log into an account on hachyderm.io (a mastodon server), I can view mosseri's content at https://hachyderm.io/@mosseri@threads.net (if you aren't logged in, this just redirects to https://www.threads.net/@mosseri). I don't understand enough about ActivityPub to know why this would work for Mastodon but not Ktistec.

vrthra commented 3 months ago

It seems they are claiming to be open to the rest of fediverse (at present, it seems Kitstec still is unable to get the right response -- probably still a problem at the threads end. It is not responding well to webfinger.).

image
toddsundsted commented 3 months ago

there are a few things that don't work with threads—I can't search for and retrieve a post, too. there it seems like threads is returning the HTML web page when I ask for "application/activity+json".

most everyone makes Mastodon compatibility a priority when they want to federate with the "fediverse", so I just have to see how Mastodon is handling it... :-)

toddsundsted commented 3 months ago

apparently it's now official but none of the examples above work yet, and i can't find much technical detail on their implementation. :-/