The algorithm was hyper-personalized, so that any time someone clicked or shared something on Facebook, Facebook would log it as a positive experience and deliver more of the same. But virality had pitfalls. It addicted Facebook’s users to low-quality content.