Starting in 2014, Cambridge Analytica harvested over 50 million Facebook users’ information on behalf of Ted Cruz and former Trump campaign advisor Steve Bannon.
This information was then used by the Trump campaign to target Facebook users with specific, personalized political messages.

The information was gathered using an application that unknowingly harvested data from the friend profiles of consenting participants. This led to a vast network of information being gathered from profiles of friends and friends of friends on Facebook.
In order to mitigate privacy issues like this in the future, Facebook users can opt to make their profiles private and also hide certain personal information that could be used to steal their identity or create a personal profile of them based on the information they disclose.