That’s naive. If you have a Facebook account they know every website you go to that has affiliate advertisement or a like button on it. I’m sure they also broker data from other companies and mine it from public sources. My uninformed guess is that < 10% of the data Facebook has on any given person comes from their actual interaction with Facebook.com.
It works, too, the ads I get are so wildly irrelevant it’s comical.