Measuring photon-photon interactions via photon detection