The man's phone was open on WhatsApp to send the selfie he had taken, which is what allowed the forces to find his location.
People have used self-portraits to communicate information about themselves for centuries, but digital cameras have made it easy to share a self-portrait than ever before.