I get those little twitches like in my arms and legs usually when I smoke some really good herb. You maybe just got too high. I've never vomited from smoking weed though and I've been smoking for 6 years. Sorry I can't really help you out, but yea like Klumsy said, it could have been something you ate, or you just ate too much, I have puked from doing that lol.