I haven't tested this recipe with coconut oil (or any other oil) - but my guess is it would alter the recipe and texture of the cookie. For the best snickerdoodle cookie, use vegan butter.