Well, yes, keep your social media clean if you don't want to be caught.
But I'd like to point out that really, my view is that actually, you shouldn't have to hide it if going away is NOT counter to being ill.
So, if you work in an office and are off for stress and burn out - going away would most likely be something your doctor or psychiatrist would recommend. Ditto attending a yoga or exercise class, walking the dog or meeting friends for dinner. You shouldn't need to hide it (although, irritatingly, from a "perception" perspective, you might need to.
If you work on a building site and are off work because you have broken your left arm, there is absolutely no reason why you can't go sit on a beach drinking cocktails while your arm is healing... as long as you are looking after your cast etc and not actively doing something that might slow healing glares at DS who put back his post-concussion recovery by insisting on working too hard at the gym
If you work in a school and are off because you have awful flu and need to be in bed with antibiotics etc, then no, you should NOT be going on holiday or be out at the pub and if you do, you should hide it because yes, you are acting in a fraudulent manner.
So yes, it depends....