The issue with Facebook is that your IRL friends are also on it. This is why it became so popular. Twitter is a bit different on this. So it is kinda a bad example. Also I don't really agree that you can not have real friendship online, because I think you can. The different "friendships" do play different part in your life though.
The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!