German Chancellor Angela Merkel confronted Facebook founder Mark Zuckerberg in a conversation overheard at the UN about those using his social network to post hateful material.

Speaking to the European leader at a luncheon, Zuckerberg was heard saying 'we need to do some work' in reference to the German push against racist posts on the Internet.

'Are you working on this?' Merkel, who has seen an increase in violence against immigrants in her country during a massive intake of Syrian refugees, pressed again.

Zuckerberg replied, 'yeah', before a speaker at the event on Saturday in New York made the rest of the conversation inaudible.

Scroll down for video

German Chancellor Angela Merkel (right) and Facebook's Mark Zuckerberg had a conversation during a New York luncheon on Saturday where the European leader pressed the CEO about hate posts on his site

Bits of he private conversation was overheard at the event before a speaker cut the exchange off. Above, Zuckerberg shakes hands with UN Secretary General Ban Ki-Moon as singer Bono looks on

'We are committed to working closely with the German government on this important issue,' Facebook spokesman Debbie Frost told Bloomberg.

'We think the best solutions to dealing with people who make racist and xenophobic comments can be found when service providers, government and civil society all work together to address this common challenge.'

Merkel's desire to push Facebook to greater control over the information on its website comes as her administration says it would welcome 800,000 refugees from the war-torn Middle East this year.

However some Germans, particularly some in the ex-communist eastern part of the country, have opposed the move to assuage the humanitarian crisis by taking in the refugees.

As streams of asylum-seekers arrive in the country, there has been a rise in arson attacks in places such as the castle town Meissen, as well as physical assaults on the immigrants on the street.

There were five fire attacks at refugee hostels within a single week in late August, according to Der Spiegel.

German concern about hate posts on sites such as Facebook comes amid a rise of anti-immigrant violence including a string of arson attacks. Above, a German bishop and the remains of a refugee support group's car

Merkel had previously criticized Facebook publicly for not doing enough against people when they 'stir up sedition on social networks'. Above, refugees and their cots in a Hamburg shelter

Merkel previously pointed to Zuckerberg's firm in relation to the tension and violence.

She told the Rheinische Post earlier this month, 'When people stir up sedition on social networks using their real name, it's not only the state that has to act, but also Facebook as a company should do something against these paroles'.

Germany has much stricter freedom of speech laws than many tech companies' home in the United States, such as bans on Nazi symbols and other signs associated with unconstitutional groups.

Facebook has agreed to move its German site into greater announced that is was partnering with the German group Voluntary Self-Monitoring of Multimedia Service Providers and is telling those on the platform to report xenophobic speech.