New York (CNN Business) Facebook announced Wednesday that it would ban all "praise, support and representation of white nationalism and separatism" on Facebook and Instagram.

The move came less than two weeks after the suspect in the terror attack at two New Zealand mosques streamed the massacre live on the platform . A manifesto allegedly written by the suspect reveals white nationalist views.

Facebook FB said while it had long prohibited hateful treatment of people based on race, it hadn't applied the same rationale to white nationalism, "because we were thinking about broader concepts of nationalism and separatism — things like American pride and Basque separatism, which are an important part of people's identity."

It said it had reconsidered that after "conversations with members of civil society and academics who are experts in race relations around the world" who said, according to Facebook, "that white nationalism and separatism cannot be meaningfully separated from white supremacy and organized hate groups."

Over the past three months, Facebook said it had more than 20 conversations with civil rights groups and experts in race relations across the US, Europe, and Africa.

Read More