Norway's prime minister has challenged Facebook's restrictions on nude photos by posting an iconic 1972 image of a naked, screaming girl running from a napalm attack in Vietnam - but the social networking site quickly deleted it.

The Pulitzer Prize-winning image by Associated Press photographer Nick Ut is at the centre of a heated debate about freedom of speech in Norway after Facebook deleted it from a Norwegian author's page last month.

Many Norwegians have since posted the photo on Facebook in protest, and Prime Minister Erna Solberg joined them on Friday. Facebook removed her post within hours, said Sigbjorn Aanes, one of Ms Solberg's aides.

"What they do by removing images of this kind, whatever (the) good intentions, is to edit our common history," Ms Solberg told the Norwegian news agency NTB.

Facebook, in a statement from its European headquarters in London, responded that "it's difficult to create a distinction between allowing a photograph of a nude child in one instance and not others".

The girl in the image, Kim Phuc, is naked and crying as the napalm melted away layers of her skin.

Several Norwegian government members followed Ms Solberg's lead and posted the photo on their Facebook pages. One of them, education minister Torbjorn Roe Isaksen, said it was "an iconic photo, part of our history".

Norwegian newspaper Aftenposten published an open letter to Facebook founder Mark Zuckerberg on its website on Friday in which chief editor Espen Egil Hansen accused the social media giant of abusing its power.

Mr Hansen said he was "upset, disappointed - well, in fact even afraid - of what you are about to do to a mainstay of our democratic society".

"We try to find the right balance between enabling people to express themselves while maintaining a safe and respectful experience for our global community," Facebook's statement said.

"Our solutions won't always be perfect, but we will continue to try to improve our policies and the ways in which we apply them."

Paul Colford, AP vice president and director of media relations, said: "The Associated Press is proud of Nick Ut's photo and recognises its historical impact. In addition, we reserve our rights to this powerful image."

Sign up to our free newsletters

Get the best updates straight to your inbox:
Please select at least one mailing list.

You can unsubscribe at any time by clicking the link in the footer of our emails. We use Mailchimp as our marketing platform. By subscribing, you acknowledge that your information will be transferred to Mailchimp for processing.