It would really depend on the factual situation. But, generally, employees are protected in making off-duty comments online concerning the terms and conditions of their employment which would include comments concerning: working conditions, pay, promotion selection criteria, quality of supervision and the like.*
* No Legal Advice Intended: This website includes information about legal issues and legal developments. Such materials are for informational purposes only and may not reflect the most current legal developments. These informational materials are not intended, and should not be taken, as legal advice on any particular set of facts or circumstances. You should contact an attorney for advice on your specific legal problems.