NBC: Maine Democratic Senate candidate Graham Platner apologizes for past social media posts