I know, as friends, we would like to think that we know what's best for him and his marriage...but only him and his wife, through God's guidance, know what is destined to happen there.
It would be so easy to offer advice... but we need to consider showing our support, praying for the situation, and asking for God's will to be done instead.
The only advice he needs from us is to keep his private life to himself and his close circle of friends/family instead of posting it for the entire world to see.