In February, communist Vietnam complained about “toxic” anti-government and offensive content on Facebook and Google's YouTube and pressured local companies to withdraw advertising until the social media firms found a solution.
Facebook’s commitment came during a meeting between its head of global policy management, Monika Bickert, and Vietnamese information and communication minister Truong Minh Tuan on Wednesday, the government’s website said.
Facebook would also remove fake accounts and fake content about senior government officials, it said.
Read also: Google, Facebook in 'fake news' furore
A Facebook representative said the company had a clear and consistent process for governments to report illegal content.