California’s Attorney General said the settlement will ‘make social media less dangerous for our kids and make a world of a difference for children and their families’.