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