Twitter does not have a technology problem - the prototype was famously put together with Ruby-on-Rails in a weekend. Most of the effort comes after that, with moderation and legal compliance. There is really no better reality check for those who delude themselves into writing a clone than this:
https://www.techdirt.com/2022/11/02/hey-elon-let-me-help-you...