You have three legitimate options:

The most straightforward method. If they accept, you gain access to the content they share with friends.

For legitimate investigations, the proper channel is with a warrant or subpoena. For parents, use parental control apps with the child’s consent and device access—not privacy-breaking tools.