Well, for a non-client example they do a lot of analytics, probably more than we know. Plus they created their own highly optimised php compiler from scratch that isn't just production ready, but battle hardened.
HipHop alone should get Facebook's development team praise.
They let people upload comments and pictures. Anything fancy is done mostly in the client or am I overlooking something?