Facebook and NSA spying response
Facebook and the NSA have responded to recently published documents leaked by whistleblower Edward Snowden.Reuters

Facebook founder and CEO, Mark Zuckerberg, has called US President Barack Obama following allegations that the National Security Agency (NSA) masqueraded as Facebook to spy on computers.

Files obtained by former NSA contract worker Edward Snowden published by the Intercept, revealed methods used by the agency to infect millions of computers with malware in order to carry out mass surveillance.

On his Facebook page., Zuckerberg posted: "The US government should be the champion for the internet, not a threat. They need to be much more transparent about what they're doing, or otherwise people will believe the worst."

Zuckerberg has previously argued that the US government "really blew it" on its data collection programmes, criticising their lack of transparency.

He said he was confused and frustrated by the continued reports of government spying, stating that trust in the internet is more important today than ever.

"I've called President Obama to express my frustration over the damage the government is creating for all of our future," he said.

"Unfortunately, it seems like it will take a very long time for true full reform."

In a statement, the intelligence agency claimed the reports were "inaccurate", despite the apparent legitimacy of the leaked documents displayed on the investigative news site.

"NSA uses its technical capabilities only to support lawful and appropriate foreign intelligence operations, all of which must be carried out in strict accordance with its authorities," the statement read.

"NSA does not use its technical capabilities to impersonate US company websites. Reports of indiscriminate computer exploitation operations are simply false."