Rupert Murdoch's News Corp has reached a content-supply deal with Facebook in Australia, in a step toward settling a dispute that saw the social media giant briefly shut down thousands of pages in the country. 

The agreement's terms were not disclosed.

The deal makes News Corp the first major media outlet to strike a Facebook deal under controversial new laws that let an Australian government-appointed arbitrator set fees if companies fail to do so. 

Facebook's shutting out all media content in the country for a week last month angered world leaders, as the blackout included emergency services and government health pages. 

It ended the shutdown when Australia agreed to soften some parts of the new regulations. 

News Corp, which owns about two-thirds of Australian metropolitan newspapers, was among media companies calling for the government to make Facebook and Alphabet's Google pay for the media links that drive viewers, and advertising dollars, to their platforms. 

Google had also objected for months and threatened, like Facebook, to withdraw core services from the country.

But it signed deals with most media outlets - including News Corp, in the days before the rules became law. 

"The agreement with Facebook is a landmark in transforming the terms of trade for journalism, and will have a material and meaningful impact on our Australian news businesses," News Corp CEO Robert Thomson said in a statement that thanked the Australian prime minister, treasurer and chief competition regulator by name. 

Facebook's head of news partnerships in Australia, Andrew Hunter, said the deal meant Facebook's 17 million users in the country "will gain access to premium news articles and breaking news video from News Corp's network of national, metropolitan, rural and suburban newsrooms". 

As well as the country's top-selling tabloids The Daily Telegraph in Sydney and The Herald-Sun in Melbourne, News runs subscription cable TV network Sky News, which struck a separate Facebook deal, the terms of which were not disclosed, according to News Corp.

"I've always had the view we need to see this playing out," said Australian Competition and Consumer Commission Chair Rod Sims, the architect of the new laws, in a telephone interview. 

"If they've done a deal with News Corp, they're obviously in the groove of doing deals with others."