Authorities say an 18-year-old high school student in Scottsdale has been arrested for posting a threat to social media.