They also provide a lot of tools to view and examine the data to the advertisers so they can tailor their ads in some way. Most of the times you click one of these ads your user_id or email is sent to the advertisers and they can make pretty good use of that data as well.
That's the obvious one but they also sell the data to market research companies who analyse it and package it up for resale as "customer engagement profiles" or some other euphemism for poorly anonymized user tracking data.
I have no experience with Facebook here but with Google and Yahoo there is an understanding between big advertisers and their account reps about API abuse. Someone's personal credit card rents a few VPS's and some perl scripts start pulling in everything they can and even if they go over the API limits by a few orders of magnitude they never get blocked.
For any ad network or other service provider who has a resource like an ad unit or a like or +1 button everywhere on the web and can track people, the user tracking data is a major revenue stream, both for internal use and external.
Actually, on second thought, that's a bit horrifying.
They pay well but the good ones never stay long as the job is pretty boring for someone with those skills, it's really just a few problems that need to be solved over and over to the 10th decimal place because slight improvements in results mean lot's of real dollars.
Mining the tar out of Facebook's rather Orwellian data set? FUN!
Facebook has a shit-ton of information about you already. It knows your social graph, it knows what you "like", it knows your name, it knows your relationship and job status, it knows your religion, it knows your age, it knows your education, it knows your phone number and address. These are things you may have explicitly told it. It now also knows a significant fraction of your browsing history. Web-savvy folks with a solid business sense know how that sort of information can be easily monetized.
Consider what Facebook can easily determine from the information it explicitly knows: your income, debt level, and credit rating; your family size (and stage); your job satisfaction; your relationship satisfaction; your hobbies; your fetishes; every single one of your buying patterns. Facebook can not only determine a better set of ads to present to you on facebook.com it can resell information elsewhere to others so they can present better and more effective ads/deals on potentially every site you visit and offers you receive in the mail and through other mechanisms as well.
A hypothetical example: facebook is able to determine that you are a gainfully employed person with a much higher than average income and no children, they can also tell that you "like" a lot of things about motorcycles, you visit motorcycle news sites and web forums several times a week, you visit motorcycle manufacturer pages often. How valuable is that information to a local motorcycle dealership?
I just deleted my facebook.com cookies. Visiting facebook.com login page issued me 5 cookies. Logging in issued 31 (!) additional cookies. Logging out and restarting my browsing (to clear session cookies) left me with 3 cookies. And those 3 cookies have suspicious names like "datr" and "lu" (Log User?) with obfuscated hash values.
http://www.facebook.com/help/?faq=186325668085084
http://www.zdnet.com/blog/facebook/facebook-denies-cookie-tr...
I like how it's "denies allegations". Stay classy, zdnet.
And personally, from my corporate experience there's a good chance that you're simply lying to us here and a better chance that you're telling us what you think the truth is but have been lied to yourself.
For instance, the FAQ directly contradicts the Wall Street Journal. You and the FAQ say no logged out info is collected, the article says exactly otherwise.
> WSJ: Facebook acknowledges that it gets that data [from logged out users] but says it deletes it right away.
Oh, I see. You do track them. But, you don't inhale...
Even if we believed you, by collecting that data you change the game entirely. Now you can be legally required to log data from a specific user which you couldn't if the system wasn't in place.
Stay shifty, Facebook.
Many large web services, for instance Google's Plus button, appear to work in exactly the same way with logged-out cookies. This is something you can easily test yourself. When asked, these companies make exactly the same statements about how this data is and is not used. All of the speculations in your last paragraph would seem to apply equally, though I personally don't put much credence in them.
So the question is unfortunately not one of facts, but of trust and feelings. Beyond telling the truth as far as I know it there's not much else I can do. FWIW we don't make evil plans down in the old volcano lair.
But the chart is about time spent online
I normally catch them when I read back the comment and think "glad I caught that, I would have looked stupid" ... not this time apparently.
Every time you visit a page with any kind of facebook integration (like button or whatever) facebook adds your online behaviour to it's user profile.
Ideally, from facebooks perspective, everyone would always be logged in to facebook and all pages would have a like button, then they can track everything everyone does on the web. That's why the stickiness thing is important, not just because active users are less likely to quit.
This is how you monetize a free social service.