Source code is at https://github.com/edent/location-activitypub-symfony
Very much a Minimum Viable Product. Will blog about how it works this weekend.
Source code is at https://github.com/edent/location-activitypub-symfony
Very much a Minimum Viable Product. Will blog about how it works this weekend.
@derickr probably - only stuck it up quickly!
It is just the standard Symfony one. No other libraries. I'll add it shortly.
@Edent Ah, I was hoping you'd used a library for activity pub. I have been looking at https://github.com/landrok/activitypub and it seems all bogglingly complicated!
@derickr I built it by hand by copying https://rknight.me/blog/building-an-activitypub-server/
It is relatively straightforward if all you want to to do is write content.
Happy to talk you through what I did.
@Edent I had found that link — but was hoping that the PHP world could coalesce around a single library, so that it would be an easy drop in for many many projects (including my own blogs etc).
@Edent I'm going through that, but I am running into some problems. How did you debug this?
For instance, I get a 500 in the UI when I add "derick@social.derickrethans.nl" to the masto search box, but I can see it requesting /@derickr/following and /@derickr/followers in my log.
@derickr
I find that search is a bit iffy if it hasn't seen the account before.
But if I visit it directly, it works.
@Edent Ah, right. I found why the bio didn't work either. I had used the wrong date format (typo: 2024-01-03117:09:00Z instead of 2024-01-31T17:09:00Z)!
Now it has kitten images and a bio and the search works too.