Facebook on Wednesday announced a ban on “praise, support and representation” of white nationalism and white separatism.

The social-media giant didn’t provide additional details on what would fall in those categories, leaving it unclear whether something like an image of a Confederate flag would get censored under the moratorium.

But phrases like “I am a proud white nationalist” and “immigration is tearing this country apart; white separatism is the only answer” will now be outlawed, ­according to the Web site Motherboard.

Prior to Wednesday’s announcement, Facebook prohibited users only from supporting white supremacy.

But after three months of talks with experts and anti-hate groups, the company said it realized the concepts of white nationalism and separatism “are deeply linked” with supremacy and hate groups.

“Going forward, while people will still be able to demonstrate pride in their ethnic heritage, we will not tolerate praise or support for white nationalism and separatism,” the company said in a statement.

That means displays of “American pride” or “Basque separatism” would still be allowed, Facebook said.

One aspect of the new policy will also be to redirect users who try to post racist content to “Life After Hate” — a nonprofit that helps people leave hate groups, the company said.

The embargo, which will be enforced on Facebook and Instagram starting next week, comes after the company was blasted globally in the wake of the New Zealand mosque attacks for not doing enough to ban hateful content on its platforms.

The white-nationalist suspect in the mass shooting was able on Facebook to live-stream the massacre of 50 worshippers.

In 2017, following the white nationalist rally in Charlottesville, Va., where a neo-Nazi supporter killed a counter-protester, Facebook said it was going to take a firmer stand on accounts that promote hate and violence.

Now the networking site admitted it needs to do even more and become better at finding and scrapping hate from the platforms.

“Over the past few years we have improved our ability to use machine learning and artificial intelligence to find material from terrorist groups,” it said.

“Last fall we started using similar tools to extend our efforts to a range of hate groups globally, including white supremacists. We’re making progress, but we know we have a lot more work to do.”

With Wire Services