this post was submitted on 10 Apr 2024
17 points (100.0% liked)
Lemmy Bots and Tools
455 readers
1 users here now
Welcome to the programming.dev lemmy development community! This is a place to discuss and show off bots, tools, front ends, etc. you're making that relate to lemmy
Theres another version of this community over at lemm.ee if you want to subscribe to that one as well
Icon base by DarkZaitzev under CC BY 3.0 with modifications to add a gradient
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
It seems a bit weird to do this though webhooks, since Lemmy already operates thought ActivityPub.
So instead of polling, or creating a webhooks, and webhook tables etc, wouldn't it make more sense to let bots subscribe through ActivityPub?
Which is much more complicated than a simple http endpoint is. ActivityPub is quite complicated. And ActivityPub is purely for content, there's no way to get the email of your new user and check it against known spam domains. Not sure if there's an acitvity pub message for a federation event. There definitely isn't one for registration application. In short, ActivityPub is not meant for such use-cases, webhooks are.