The world’s largest social network is at the center of an international scandal around voter data, Brexit and the 2016 election.