What can you do to protect your data on Facebook?

Facebook has shared users’ private messages, contact information and other personal data with companies such as Microsoft and Spotify, according to a New York Times report that was alarming even in light of previous disclosures about the social network’s practices.