Exemplo n.º 1
0
 public function __construct()
 {
     $this->auth = auth_instance();
     $this->ci = get_instance();
     $this->ci->config->load('auth');
     $this->config = config_item('facebook');
     $this->fb = new Facebook(array('appId' => $this->config['facebook.app_id'], 'secret' => $this->config['facebook.api_secret'], 'cookie' => true));
 }
Exemplo n.º 2
0
function list_permissions($count = 10000, $offset = 0)
{
    return auth_instance()->list_permissions($count, $offset);
}