Use of the word photographer is used rather generically (unfortunately), sort of the way "artist" is used.
There are professional photographers and amateur photographers just like there are professional artists and amateur artists. Most official definitions of the word photographer will end with: "...especially one who does it professionally". It is misunderstood and overused, just like the word writer. Many people write, and some quite well, but do we necesssarily call them writers? We tend to think of a writer as someone who has successfully published a novel - then we call them novelists. I think this is true for any preoccupation that has an artsy aspect to it. On the contrary, if someone were to hear the terms "train engineer" or "house painter" they would automatically understand those are professions.
I think most people would recognize the name Ansel Adams as a truly great photographer, a person that over a period of many years pursued his passion and vision to create great images. But he also received monetary compensation for his work. Do people 1st think of Ansel Adams as a professional photographer, or do they think of him as a brilliant artist who used a camera?
So my humble opinion of the word photographer: Someone who strives over a period of time, to create a body of work using a camera and in some cases post processing techniques, to create images with passion and vision. Yes, they may even receive monetary compensation for their work.