Facebook is good for you because looking at photographs of yourself is a way of dispelling bad moods and treating mental health issues, according to new research.