Detailed reports show that the social media giant¡¯s algorithms were geared toward keeping people on the platform.