Social networking group Twitter has agreed to remove anti-Semitic posts in France following the threat of legal action by a Jewish student group.

According to BBC, the Union of Jewish Students of France (UEJF) was planning to get a court injunction to make Twitter remove the offensive tweets which were in French.

The decision to remove the tweets follows a meeting between Twitter’s senior management, the UEJF president Jonathan Hayoun and the group’s legal representatives.

The UEJF handed over a list of the posts it wanted removed during the meeting.

UEJF lawyer Stephane Lilti was quoted by AFP as saying that the UEJF had scored an "important victory" over Twitter on the issue.

For the past few days, anti-Semitic Twitter posts were proliferating in France under the hashtag #unbonjuif (#AgoodJew).

The decision to remove the messages follows Twitter’s closing of an account used by a neo-Nazi group based in Hanover, Germany.

The block was imposed at the request of German police, and Facebook and YouTube have also agreed to block the group’s accounts.

According to AFP, UK police are also investigating messages published on the Twitter account of British National Party chief Nick Griffin who tweeted the address of a gay couple who won a landmark court ruling on discrimination, ending with message: "Say no to heterophobia!"