Facebook was barred last week by a court in Pakistan because of an online competition to draw the Prophet Muhammad. Around 50 people died in 2006 protests over similar cartoons in Danish papers.