Authorities are investigating social media posts made by the suspected gunman, Santino William Legan, 19, in an effort to determine a motive in the attack.