Researchers at Cambridge University used algorithms to predict religion, politics, race and sexual orientation of users after studying what they had 'liked' on Facebook. The study used 58,000 volunteers to conduct personality tests.