Simply posting about your husband has no correlation among social media users from all that I have seen.
What we do know is that as social media and Facebook use increases, so does the rate of divorce among those that use it more.
There have been studies that have proven this.
Probably has more to do with lifestyle porn (and the unhappiness associated with focusing on how great everyone else’s life appears to be) than publicly praising your spouse.