protected function checkFacebookExternalHit() { if (stristr($this->_agent, 'FacebookExternalHit')) { $this->setRobot(true); $this->setFacebook(true); return true; } return false; }