Soon after the 2016 election concluded, Facebook and Twitter understood they needed to make changes to their political advertising tools.