A Rome Middle School student was detained over a social media threat, sparking community concern and a police investigation.