When someone makes a sarcastic joke online and complains when people don’t get it

The title is self-explanatory. This happens often and I find it ridiculous for two reasons. One, you can’t read someone’s tone through text (I guess you could argue that if you know them well you might be able to, but even then misunderstandings can still happen), and two, we don’t know you and don’t know what kind of person you are, so how are we going to know if you’re being sarcastic or serious?