Google and Facebook models are pretty simple too: they make stuff people want and companies give them money to put inject their ads in the service.
How many people knew that third parties can get information about you if your friends sign up to something?