I wrote my own tweet and Masotodon bot (and BlueSky one).
It checks every minute if there are any unsent tweets/posts and posts them, marking the database accordingly.
https://james.cridland.net/blog/2023/twitter-api/ is the Twitter code.
I also use Zapier to post into Facebook and LinkedIn, via RSS feeds.
I’m probably not doing it right.