As a general rule, if you need to stop to consider whether something is "okay" to post on social media, it's probably not okay to post on social media! We say it time and time again, but when posting anything at all on any social network, imagine yourself saying out loud to a room of people. It's the same principle, apart from online it's not just to the room. It's to millions of internet users.
A Minnesota judge was reprimanded for a Facebook posts he wrote about trials he was presiding over, including a sex-trafficking trial where he implied the defendant was guilty. The prosecution found the post and advised the defense; a vacated verdict was the result. The judge’s explanation was that he did not realize his posts were “public” and thought they could only be viewed by friends and family.