Browser::checkForFacebookIos PHP Method

checkForFacebookIos() protected method

Detect if URL is being loaded from internal Facebook browser
protected checkForFacebookIos ( ) : boolean
return boolean True if it detects internal Facebook browser otherwise false
    protected function checkForFacebookIos()
    {
        if (stristr($this->_agent, 'FBIOS')) {
            $this->setFacebook(true);
            return true;
        }
        return false;
    }