Social media has become a primary factor in political campaigns.