The federal government's landmark media bargaining code has passed through the Senate with amendments yesterday after the government reached a mutually favourable deal with Facebook. 

Under the new deal, Facebook will still have to pay publishers for news but forced arbitration will be the last resort.

The amended bill is set to go back to the House of Representatives for final approval.