Facebook user data in bulk was sought last year by the New York County District Attorney’s office and a court directed it to produce virtually all records and communications for 381 accounts, the company disclosed Thursday. The social networking giant is now asking the court for the return or destruction of the data as well as a ruling on whether the bulk warrants violated the Fourth Amendment to the US Constitution and other laws. The Fourth Amendment prohibits unreasonable searches and seizures of property. The company said that since last July it has been fighting a set of sweeping search warrants issued by the Supreme Court for New York County that demanded that it turn over to law enforcement nearly all data from the accounts of the 381 people, including photos, private messages and other information.