Can you get fired because of a social media post?

Political debates on social media are becoming more extreme and acute. Some of the discourse spills over into hate messages and even incitement. In what cases can an employer fire an employee who posted unusual messages on social media and what harm may be caused to the employer by such publications? guide