Thousands of people attended two events in New York City last year organized on Facebook by a group the social media giant believes was working to sow discord the way Russian hackers did during the 2016 presidential election, according to a report.

The anti-Trump protests were held Sept. 9 in Columbus Circle, Aug. 17 in front of the Trump Tower.

A third took place Aug. 30 in Springfield, Mo., and all were set up at least in part by a group known as the Resisters, The Hill reported.

The rally at Columbus Circle was tied into a string of protests across the country arranged to oppose Trump’s decision to phase out protections for Dreamers, which shielded young people brought to the United States illegally by their parents from deportation.

It was part of the Obama-era Deferred Action for Childhood Arrivals policy.

The Post covered the demonstration that gathered across the street from the Trump International Hotel and Tower that involved protesters holding signs that read, “legalize liberty” and “keep the dreamers, deport the racists.”

They crowded the sidewalk along Central Park West from West 60th to West 62nd streets.

Thousands also showed up for a rally at the Trump Tower on 5th Avenue to “protest Trump and ideology of hate at Trump Tower.”

The third event in Missouri involved protesting Trump’s arrival for a speech there.

Facebook announced on Wednesday that it had detected a disinformation campaign on its platform that was spreading disinformation ahead of the midterm elections in November.

The tech firm said it had deleted 32 false pages and profiles created between March 2017 and May 2018.