When was the first ecology textbook written?
The first textbook to cover ecology specifically and separate from general biology was “Fundamentals of Ecology”, written by the late Dr. Eugene P. Odum over the period 1949-1951, and published in 1953. See http://www.edwardgoldsmith.com/page33.html for a brief biography of the man and a word or two on his book.