The ex-COO of Facebook is credited with turning the company into a profit powerhouse.