Social networks link terrorists