We present a strategy to extract the position of the two Λ(1405) poles from experimental photoproduction data measured recently at different energies in the γp → K + π 0 Σ 0 reaction at Jefferson Lab. By means of a chiral dynamics motivated potential but with free parameters, we solve the Bethe Salpeter equation in the coupled channelsKN and πΣ in isospin I=0 and parameterize the amplitude for the photonuclear reaction in terms of a linear combination of the πΣ → πΣ and KN → πΣ scattering amplitudes in I=0, with a different linear combination for each energy. Good fits to the data are obtained with some sets of parameters, by means of which one can also predict the cross section for the K − p → π 0 Σ 0 reaction. These later results help us decide among the possible solutions. The result is that the different solutions lead to two poles similar to those found in the chiral unitary approach. With the best result we find the two Λ(1405) poles at 1385 − 68i MeV and 1419 − 22i MeV.