Facebook posts led to a council bringing a complaint against a councillor