When a court issues a “No Contact Order”, it is usually done to protect the safety of children or one of the parties involved. That order needs to be respected. No contact means no contact. Unless otherwise instructed by the court, no contact means no contact through social media, text messaging, phone calls, other people as middlemen, etcetera.
If people decide to play with fire and disobey the no contact order, then they need to be ready for the consequences given to them by the court for violating said order.