💾 Archived View for thebackupbox.net › ~epoch › blog › activity-pub-5 captured on 2024-12-17 at 10:12:10. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2024-07-09)
-=-=-=-=-=-=-
I didn't do the thing I was thinking.
I found I wanted to do replies.
So I added a bit to ap-create-note so it can take an optional
-r <uri>
that is puts as the inReplyTo value of the object.
I don't have it sending to all of the followers of the person I'm replying to yet.
I was looking at
and saw the follow button.
was wondering how the fuck it was supposed to work.
clicked the button after entering epoch@thebackupbox.net
and saw a request to webfinger.
found it was actually using escaped : and @ for some reason
fixed that
then searched for stuff about "remote follow" and found:
https://www.hughrundle.net/how-to-implement-remote-following-for-your-activitypub-project/
and added the needed bits to my webfinger responses.
since I follow people with links like:
actpub:follow?uri=epoch@thebackupbox.net
I just set my webfinger response to use one of those.
didn't really expect it to work, but luckily nobody thought to
try too hard and limit URLs to http or https.
otherwise I'd have to put an extra redirect from my own server
to the /actual/ url that's helpful for me.
I wrote a script to let people remote follow me
(or anyone for that matter, just a pre-filled field)
and it is basically what'd I'd have had to write and point my own
remote follower uri to anyway.
link returns basic html form.
guess it wouldn't be hard to make it return a 10 to gemini.
was looking at pixelfed documentation for some reason
https://docs.pixelfed.org/technical-documentation/activitypub/#instance-actor
and they do this, which is a thing I was thinking of doing
but now I've got someone else's work to build on
instead of making it up myself. :)