Prosecutors say the man posted violent threats on Gab, a social media app popular with the far right.