-
Notifications
You must be signed in to change notification settings - Fork 30
Description
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?