Meta agrees to pay up to $16.7bn to settle social media case The deal has been reached during a California federal court trial over claims brought by 29 states.