Looks like they are suing under breach of contract, because employees of the companies had FB accounts and therefore broke the ToS, as well as unjust enrichment. The actual complaint is here:
https://www.scribd.com/document/478333898/Facebook-lawsuit-v...