protected function _getClient(array $config) {
        $ini = Zend_Registry::get('config');
        $type = !empty($ini->store->type) ? $ini->store->type : 'Session';
        if ($type == 'Cookie') {
            return new Garp_Social_Facebook_Client($config);
        } else {
            require_once APPLICATION_PATH.'/../garp/library/Garp/3rdParty/facebook/src/facebook.php';
            $facebook = new Facebook($config);
            return $facebook;
        }
    }