People spend more time on Facebook than any other site on the internet. This is a huge statement. Also rans are not close.
By developing data about users Facebook is building a SciFi level data base which will be hard to replicate. The data base will be valuable in its own right.
Advertising rates are considered cheap. The low expense base drives large profits and very attractive returns on capital.
George Gutowski writes from a caveat emptor perspective.