Analysts say the way young people become involved in violent extremism has changed, with social media playing a greater role.