Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ArrayObject":private] #21

Open
wergh opened this issue Apr 25, 2017 · 0 comments
Open

ArrayObject":private] #21

wergh opened this issue Apr 25, 2017 · 0 comments

Comments

@wergh
Copy link

wergh commented Apr 25, 2017

First, thank you for your contribution!

I have a problem, and i don't know why.

I create an APP in my account, and i take my Consumer Key

`<?php

error_reporting(E_ALL);
ini_set('display_errors', 1);

require_once 'vendor/autoload.php';

//authenticate with direct authentication
$client = new \Citrix\Authentication\Direct('fL');
$client->auth('j.a
@
.
.com', 'A
***l');

print_r($client->getAccessToken()); //returns your access token
print_r($client->getOrganizerKey()); //returns the organizer key
$goToWebinar = new \Citrix\GoToWebinar($client); //@see $client definition above
$webinars = $goToWebinar->getUpcoming();
var_dump($webinars); //this gives you all upcoming webinars`

The print_r of getAccessToken() and getOrganizerKey() return codes, and looks like it works but I have some webinar created nexts weeks, and when i use this method

var_dump($webinars); //this gives you all upcoming webinars

the var_dump return this:

object(ArrayObject)#4 (1) { ["storage":"ArrayObject":private]=> array(0) { } }

How can i fix this?

@wergh wergh changed the title Hi ArrayObject":private] May 1, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant