Image copyright Getty Images Image caption Facebook said it no longer felt white nationalism could be separated from white supremacy

Facebook has said it will block "praise, support and representation of white nationalism and separatism" on Facebook and Instagram from next week.

The social media giant also pledged to improve its ability to identify and block material from terrorist groups.

Facebook users searching for offending terms will be directed to a charity which combats far-right extremism.

The social network has come under pressure after a man livestreamed an attack on two mosques in New Zealand.

Facebook had previously allowed some white nationalist content it did not view as racist - including permission for users to call for the creation of white ethno-states.

The company said it had deemed white nationalism an acceptable form of expression on a par with "things like American pride and Basque separatism, which are an important part of people's identity".

But in a blog post on Wednesday it said that after three months of consultation with "members of civil society and academics", it found that white nationalism could not be "meaningfully separated" from white supremacy and organised hate groups.

'Not just the postman'

In the wake of shootings earlier this month in New Zealand, several world leaders called on social media companies to take more responsibility for the extremist material posted on their platforms.

New Zealand Prime Minister Jacinda Ardern said social networks were "the publisher, not just the postman", in reference to their potential liability for the material shared on them.

Facebook has previously acknowledged that a video of the attack, which left 50 people dead, was viewed more than 4,000 times before being taken down.

The company said that, within 24 hours, it had blocked 1.2 million copies at the point of upload and deleted another 300,000.

A group representing French Muslims is suing Facebook and YouTube for allowing the footage to be posted on their platforms.

Other tech groups also took steps to clamp down on sharing of the video. Reddit banned an existing discussion forum on its site called "watchpeopledie" after clips of the attack were shared on the forum.

Valve, which runs the Steam gaming network, said it had removed more than 100 "tributes" by users that sought to memorialise the alleged shooter.