First, that was no friend. Second, I don’t know if I’d get that personal on facebook, but some people do say private things and that’s a personal choice about how comfortable an individual feels about sharing. A good friend would have told you they would pray for you. One of the nice things about facebook is you often really do find out about the character of some people pretty quickly. Consider it a blessing.
I agree with you, but on the other hand, maybe a little less sharing would work as well.