I am so sorry to read this. Losing a baby is hideous no matter how long you have been TTC. The pain is as if it is impossible to survive through it. Reach out to your friend - yes she has "closer" friends - but you are such a compassionate and kind Woman - I am sure she will welcome your support.
As someone else said "close" friends can say the most insensitive things sometimes...
Sadly at 22 weeks it would be incredibly unlikely for this baby to survive - I am lighting a candle after this post, saying some prayers and hoping that your friend has kind arms to hold her.

Fly safely tiny Angel - keep your Mama warm with your presence...