Facebook has filed a lawsuit against two companies that used scraping to harvest data from Facebook, Instagram, and other platforms.