The president used Facebook and other platforms to discourage Black voters from going to the polls.