SYDNEY - Facebook said Tuesday it will lift a contentious ban on Australian news pages, after the government agreed to amend a world-first law requiring tech giants to pay media companies. Treasurer Josh Frydenberg and Facebook said a compromise had been reached on key aspects of the law, which was fiercely opposed by the tech companies. 'As a result of these changes, we can now work to further our investment in public interest journalism, and restore news on Facebook for Australians in the coming days,' said Will Easton, managing director of Facebook Australia. The social media firm sparked global outrage last week by blacking out news for its Australian users and inadvertently blocking a series of non-news Facebook pages linked to everything from cancer charities to emergency response services. Prime Minister Scott Morrison had angrily accused Facebook of making a decision to 'unfriend' Australia. But the last minute compromise - as parliament looks set to pass the law this week - means that Facebook and Google, which was also targetted, will not be penalised so long as they reach some deals with local media firms to pay for news. They will also get an additional two months to broker those agreements. 'We're pleased that we've been able to reach an agreement with the Australian government and appreciate the constructive discussions we've had' said Easton.-AFP