Question: how to recover deleted photos on j7 prime?
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.