Yes. A few hundred thousand people took the quiz and Facebook's platform allowed them to therefore gather information on tens of millions of people. Facebook had a policy at the time that the extraneous data could only be used to improve user experience, not third-party data harvesting, but reportedly it was weakly enforced.