An astonishing number of people use Facebook daily, and Instagram is also a huge revenue generator. The company itself is thriving despite terrible products.