I recentely tooted my definitions. Maybe they are useful to others:
My definition of social networking is: Any direct and indirect human interaction between people.
Social media then is a particular set of social networking use cases where people publish content to other people to interact with in a variety of ways.
In any case social media are but a small subset of social networking against these definitions.