On one hand I could probably write a blog post detailing how to build a basic ActivityPub server... On the other, it will do nothing to attract a non-tech audience 🤔
I am ... not a fan ... of the idea there is a hard-and-fast line between "tech people" and "non-tech".
Not everyone who works with tech, is a hobbiest or enthusiast or who just happens to have picked up some skills along the way knows every detail of the workings of every technology.
@Gargron I would definitely be interested. Last time I tried making my own, it was a real pain trying to gather all the scattered information from Mastodon's docs, AP's docs and misc information lying all around. One article to establish a starting point would be really useful!
@Gargron I agree. Non-tech, non-free-software people might use activitypub if celebrity XYZ is using it, or if everybody is using it, or if there is porn in it, or if they can stalk people with it.
@Gargron Still very useful. That kind of documentation is not for non-tech people, but for tech people building tools that could attract non-tech people.
@Gargron following your blogpost, I tried to send you a message but I get a 401 message without any error in the body (!). You can see the logs here: https://gist.github.com/vasilakisfil/58681028f7c7daedd30246cf676682a9 Any ideas ? I created the signature as you said.
@vasilakisfil Is it possible that there was a response body, but it wasn't reflected in the log? Because the signature verification on mastodon is built to always include a reason why the signature failed
@vasilakisfil I can tell you that the key and actor resolve fine (just tested), so it must be specifically a signature problem...
@Gargron I get no body in the response, and I confirm that because if I change a bit the signature I get a body that tells me that I have wrong signature. It's very weird indeed because I also checked the signed_request_account method and it always returns something to show to the user in case of an error. I think I ll deploy an instance to debug and I ll let you know. Thanks!
@Gargron your blogpost is very helpful, hadn't been that it would be very difficult to figure out all these things from AP spec and Mastodon docs/code.
@Gargamel https://blog.joinmastodon.org/2018/06/how-to-implement-a-basic-activitypub-server/ is missing:
1. Instructions to make the webfinger end-point return the correct Content-Type
2. Content-Type: application/ld+json in the POST request to the server's inbox
@Gargron Hi, looking at your "How to implement a basic ActivityPub server" tutorial. Everything is working, but I'm not seeing notifications when I receive a reply. Any idea what I could be missing?
Server run by the main developers of the project It is not focused on any particular niche interest - everyone is welcome as long as you follow our code of conduct!