The student accused of making threats on Facebook is set to appear in court