Discretion is the better part of valor. You should stay out of your friend's divorce conflict, and your friend should think twice (then think again) over taking her ongoing feud with her ex-husband into the online world.

We don't know the background of the case or age of the child(ren), or what the wife hopes to gain from her actions. We cannot promise her that there won't be repercussion in the custody case or other contexts if she sets about trying to embarras her ex-husband online.