This article is a bit misleading. The study says: "Contrary to expectations, people who remained Facebook friends with an ex-partner were lower in negative feelings, sexual desire, and longing for the former partner than people who were not Facebook friends." This is controlling for Facebook Stalking, which is bad.