The Quebec Court of Appeal has approved a class-action lawsuit launched on behalf of Facebook users who claim they were discriminated against because the social media giant allowed advertisers to target job and housing ads based on factors like age, gender or race.