Legal would be outsourced, marketing same, spam control - yup, the same. That leaves developers and critical function staff. Twitter could easily work with 200 staff from 2 locations.
Working for. I was working for an outsourcing company that catered for companies like that. My hourly rate were ridiculously high, but still companies would be better off hiring us, than employing.