Facebook filed for its IPO today, and it revealed a great deal about how it makes money. It's not too surprising that Facebook said it generates "a substantial majority of our revenue from advertising," though it also revealed just how much it makes via its partnership with Zynga.