Social media companies are making plans in case of unrest after election day.