How to reconstruct a sound from magnitude spectrogram?
In general the whole complex Fourier transform is needed to reconstruct the time domain signal. 

However, it's possible to reconstruct a real signal it from its Fourier transform magnitude alone (or phase alone) by using some iterative techniques, or very large matrix solutions.

Have a look at the papers by Monson Hayes...