Twitter in legal spat over data clampdown