A free speech group slammed Rep. Alexandria Ocasio-Cortez this week for allegedly blocking users on Twitter because she doesn’t agree with their points of view.

Columbia University’s Knight First Amendment Institute sent a letter to the freshman congresswoman on Wednesday calling the practice “unconstitutional.”

“[W]e are writing in the hope of dissuading you from engaging in it,” the group wrote.

The letter comes after ex-Assemblyman Dov Hikind sued Ocasio-Cortez last month in Brooklyn federal court, claiming that the Democratic socialist pol blocked him on Twitter because of his “criticism” of her.

Hikind claimed the blocking was in violation of his First Amendment rights, citing a recent ruling by a federal appeals court in New York that found President Trump’s practice of blocking critics on Twitter was unconstitutional.

Ocasio-Cortez said through her lawyer in court papers that it’s a completely different set of circumstances because the Twitter account in question — @AOC, which has 5.3 million followers — is her personal account and not her official account, @RepAOC.

She also denied that she blocked Hikind “because of the content of his speech,” according to court papers filed by her attorney, Allyson Belovin.

The Knight First Amendment Institute, however, called Ocasio-Cortez’s characterization of her @AOC Twitter account “incorrect.”

“Based on the facts as we understand them, the @AOC account is a ‘public forum’ within the meaning of the First Amendment,” the group wrote in the letter to Ocasio-Cortez.

“You use the account as an extension of your office — to share information about congressional hearings, to explain policy proposals, to advocate legislation and to solicit public comment about issues relating to government,” the letter read.

It continued: “The @AOC account is important to you as a legislator, to your constituents, and to others who seek to understand and influence your legislative decisions and priorities.”

“Multiple courts have held that public officials’ social media accounts constitute public forums when they are used in the way that you use the @AOC account, and they have made clear that public officials violate the First Amendment when they block users from these forums on the basis of viewpoint,” read the letter, which points to the Trump case.

The group urged Ocasio-Cortez to “unblock any Twitter users whom you or your staff have blocked from the @AOC account because of the viewpoints they have expressed.”

“We would welcome the chance to work with you to develop a social media policy that both complies with the First Amendment and helps you address threats, abuse, and harassment.”

An Ocasio-Cortez spokesman declined to comment on the letter to The Post on Thursday.