The social-messaging company yesterday handed over a large white envelope to a Manhattan judge containing what prosecutors have been after for months — the tweets of one of its Occupy Wall Street users.

“It looks like they’re giving up the fight,” said Martin Stolar, the lawyer for targeted protester Malcolm Harris, after yesterday’s hearing.

Harris was arrested on Oct. 1 during an OWS protest that led to the bust of about 700 demonstrators on the Brooklyn Bridge.

In January, Manhattan DA Cyrus Vance demanded that Twitter hand over three months of Harris’ tweets, which had been purged from public view.

Prosecutors believe that the messages could bolster their case, contradicting protesters’ claims from that day that police tricked them into marching on the bridge only to arrest them.

Twitter had refused to turn over the tweets and other user data while Harris appealed the prosecutors’ grab for his messages.

But the company yesterday relented in Manhattan Criminal Court after Judge Matthew Sciarrino Jr. had warned that it either deliver what prosecutors requested or face fines for contempt.

Harris faces 15 days in jail or a $500 fine if convicted of disorderly conduct.