Nothing Facebook or Cambridge Analytica did regarding user data was illegal. Please clarify how the matter of legality determines whether a Congressional hearing is unwarranted, or undemocratic.
I don't think it was warranted in that case either, it was an exicise in public humiliation, a bunch of people who never created anything getting off on talking down to someone much better than them.