Determination of particle scattering amplitudes from nuclear photoproduction