Amri's nephew was among the three men and had been in touch by social media messaging with Amri, authorities said.