Having tried to implement this on a blog, it seems difficult if not impossible to do for free with facebook and now probably twitter.
>"As of 2022-11, Twitter is rejecting new API access for applications used to POSSE/backfeed"
No idea if they will cut off old keys.