Infant constipation

My 3 week old is constipated so I am going to try the "q tip" method, but with our thermometer..question is, we don't have Vaseline, is coconut oil okay?