Tonight's #TuskPHP contribution:
I think I've sorted the digest header issues, and I'm now getting 500 errors from Mastadon. I can see some errors in my logic, and resulting JSON so I've got some leads to follow, but once again it's time to get some sleep.
Slowly getting closer ...
@andrewfeeney following your progress :) Out of curiosity, why didn't you use something like https://github.com/landrok/activitypub ? Would it help (or not)? Asking for a friend :)
@philippejadin Good question Philippe.
I've seen that package, and even had a look at it's code base for inspiration. If I was trying to do this as quickly as possible, say for a client, then I'd definitely be using a package like that.
However in this instance my intention is to wrap my head around the actual protocol, so I'm deliberately "reinventing the wheel" so to speak.
@andrewfeeney totally understandable and noble goal :)