How did we find ghosts before photographs?

How long before demons start taking selfies?