The order made by the court on Sunday followed a request by a prosecutor, state broadcaster TRT reported. No one from Facebook was immediately available for comment.
It was the latest move to crack down on material seen as offending religious sensibilities in the largely Muslim nation, where the government of President Tayyip Erdogan is seen pursuing an Islamist-leaning agenda.
Earlier this month, prosecutors launched an inquiry into a newspaper which reprinted parts of the French satirical weekly Charlie Hebdo in the wake of an attack by Islamic militants on its offices in Paris. (REUTERS)