Question: how to retrieve deleted photos from samsung j7?
Answer: install and run Samsung Data Recovery program on your computer.
connect your Samsung phone to computer and enable the USB debugging mode on it. ... 
scan your Samsung phone and SD card and find the deleted text messages on your phone.
preview and recover any of the deleted messages from Samsung phone.