James Clapper said the leak of details of the country's domestic phone monitoring programme could cause "long-lasting and irreversible harm" to counter-terrorism efforts and admitted the US had targeted foreigners overseas through Facebook and Google.