FLORIDA, Feb 16: The 19-year-old man accused of shooting 17 people to death at a Florida high school legally purchased the assault rifle used in the killings and may have foreshadowed the attack in a social media comment investigated by the FBI last year, authorities said on Thursday.