Alright, I have a patch that allows me to use arbitrary actor URL and private key for signed fetches. I've just added an actor with the same structure as Mastodon's internal actor at https://instance.tld/actor, and spoofed the useragent to Mastodon's one. And it worked! Mosseri successfully federated to cum.salon. Screenshot_20231214_194733.png
This might possibly explain why you trying to fetch him from animalliberation.social failed: if you're logged in and try to search for some user's handle, Mastodon signs outgoing fetch requests with your own actor key instead of instance-wide one. Still, I'm getting "record not found" on /api/v1/accounts/lookup when logged out, but that might be because of your privacy settings or something.
@mintI implemented signed fetch on the Mostr bridge. Now it can fetch Threads objects from an ngrok instance. But mostr.pub still can't fetch. Not sure if IP block or because of cache on their end. We'll wait and see.
Yes, it should be at /actor. Not sure about useragent, I've tried fetching the profile with browser-like one and it returned HTML page, so I just changed it to mastodon one just to make it safe.
@mintIt's fetching /internal/fetch with the default setup on Pleroma/Rebased. I wonder it's just failing validation, like maybe because of the dot in the username.
On the other hand, some of my servers are not getting the requests at all... oof. I wonder if that means they're blocked.
Adds the missing outbox field to the internal.fetch actor. Without this it's not considered a complete ActivityPub actor and fails validation in some systems.
@Moon @mintMitra was blocking posts from Mostr due to not having an outbox field a while back, and @silverpill told me outbox is required, so I went with that.
•https://lor.sh/@mosseri@threads.net (will redirect when opening directly, so go to lor.sh and paste @mosseri@threads.net into search box)
AP actor URI is apparently https://www.threads.net/ap/users/mosseri/. Yet to see a single post.
Adam Mosseri (@mosseri) on Threads
Threads
•https://mastodon.social/@mosseri@threads.net
Adam Mosseri (@mosseri) on Threads
Threads
•https://gameliberty.club/web/@mosseri@threads.net
Adam Mosseri (@mosseri) on Threads
ThreadsAlex Gleason likes this.
•Screenshot_20231214_192215.png
Alex Gleason
•
•Screenshot_20231214_194733.png
Alex Gleason
•
•Alex Gleason likes this.
Alex Gleason
•@mintI implemented signed fetch on the Mostr bridge. Now it can fetch Threads objects from an ngrok instance. But mostr.pub still can't fetch. Not sure if IP block or because of cache on their end. We'll wait and see.
https://gitlab.com/soapbox-pub/mostr/-/merge_requests/76
Signed GET requests with system actor when fetching ActivityPub objects (!76) · Merge requests · Soapbox / Mostr · GitLab
GitLabAlex Gleason
•What did you change @mint to make it work?
Alex Gleason
•
•Alex Gleason
•@mintIt's fetching /internal/fetch with the default setup on Pleroma/Rebased. I wonder it's just failing validation, like maybe because of the dot in the username.
On the other hand, some of my servers are not getting the requests at all... oof. I wonder if that means they're blocked.
•Can't be, /actor's nickname also has dots in it (e.g. mastodon.social@mastodon.social resolves to mastodon.social/actor).
Mastodon
Mastodon hosted on mastodon.socialAlex Gleason
•Fix federation with Threads (!296) · Merge requests · Soapbox / Rebased · GitLab
GitLabSexy Moon
•Alex Gleason
•
•realcaseyrollins ✝️
•profiles can be viewed right now, I suspect that the test is only being extended to the #Threads engineers, admins, and devs rn
@mosseri@threads.net
@0xjessel@threads.net
@christophersu@threads.net
Alex Gleason likes this.