Companies like Facebook, Google and Twitter have built tools to tell you who’s running, where to vote and even who’s winning.