Audioguru's tip is very good.
I'd prefer to use a phototransistor, since it's pulsed.
But if you really want to use a photodiode, it's better to "buffer" it.
Use a FET input OPAMP, like TL082 or TL072, to build the buffer circuit. Since we can consider a photodiode as a very high impedance source, if you use a BJT input opamp, the voltage will be (not always) unpredictable (it will be more difficult to find "trigger voltage" for the opamp).
Then do as Audioguru says. Don't forget the visible light masked photodiode, it's very important.