Does cocaine have to be snorted?

No, it can also be injected, although this method is highly not recommended, as injecting could have many reprocussions such as developing a disease from the needle, the injection site will get swollen and veins over time will collapse. IF you do think about cocaine or anyone else you know, insufflation(snorting) is definitely a better method than injecting. Not to say either of them are good though.