While I agree that choice must be based on desired position/knowledge or specialization that author wants to acquire. It is completely possible that neither Google nor Facebook is right for you because there are limits how much you can do there. Don't forget that you will need to compete with the best what is good for your education but it might be possible that it is not the knowledge you want to acquire.
Okay. Maybe I am a bit cynical about Facebook's work. But the reality is a lot of what they do is toward the scale of social media and on the surface people think "okay new feature from Facebook. Cool Story. Look at Google, more interesting shit. Even their DB work is used multiple domains, not just for social aspect. Because Google is not just a social network company. That's the point I was trying to make. Maybe it's a bit cynical, but it's true. If you go to a different team at FB, still social network? Damn. Let me do something else already.