Facebook buys WhatsApp, how does this work?

Ok so Facebook just announced they bought WhatsApp. Interesting. But how does this turn a profit? Instagram doesn't run ads as far as I can tell and Facebook had an IPO of $100 billion. Where did they get the money and how will they make it back?

This just blows my mind. Thoughts?