Media companies lose FB defamation ruling