You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
//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
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?
The text was updated successfully, but these errors were encountered: