There are some exceptions but it is true that men and women socialize in a way that they are lying for social sake. Men will make fun of other men but they are not really being serious. Women will compliment women because it is the right thing to do not because they mean it.
If guys are just goofing around and know each other well, they'd probably throw insults around in good fun. Women do genuinely compliment each other and ask where they got different things or ask how to do different things. If guys don't know each other and throw insults, it's serious.
No, it is not true that men nor women mean it when insulting each other, and that women socialize by complementing each other, because all men and women are capable of both. Human beings are capable of being both incredibly good and incredibly evil. What they are on any given occasion is not determined by their gender. All people are sometimes insulting and sometimes complementing.
Men tend to insult each other as a sign of camaraderie. Women tend to complement each other. Undoubtedly, it's misguiding to say that they don't mean these things when they say them. Men sometimes really mean to insult someone else, and women might actually be complimenting one of their friends.
It is not true that neither men nor women mean it when men socialize by insulting each other and women socialize by complementing each other. I think that in some sense that this does make sense for the most part but not necessarily true all the time. It just depends on which men and women we are talking about.