that’s not true on Facebook unless hacked.
There is an option to keep things private.
Don’t know about twitter.
twitter does allow you to protect all tweets
don’t know if you can do it selectively.
What’s the point of posting something on FB if no one can see it?
But your FB friends can take your pics, screen shots of them, whatever....