A resistor is bidirectional and can be placed either way whereas a diode is unidirectional and the current will normally only flow in one direction.
You can get a 1 k resistor from most any electronics supply store. They will also carry diodes but I would learn a bit more about them first as there are many different types and characteristics.