For two years, Facebook has been hijacked, vilified, and besieged. Here's the inside story of the struggle.