It's different because you can set your profile privacy to "Friends Only" so prospective employers can't look at your info. Facebook, however, has access to all that data and who knows if/how they might discriminate (doubtful it would be explicit/intentional, but it's easy to accidentally let bias creep into machine learning algorithms).