teodortalov / citrix Goto Github PK
View Code? Open in Web Editor NEWCitrix API - PHP warpper around GoToWebinar APIs
Citrix API - PHP warpper around GoToWebinar APIs
Hi teodortalov,
Thank you for this library, it's just what I need!
Do you know when you will be releasing a new version so I can use the new function?
$goToWebinar->createWebinar($params);
Cheers,
Simon
HI,
This is pretty useful. But it seems to be missing a way to grab the joinUrl after registering a user.
I'm using this code:
//register a user for the very first upcoming webinar, @see Getting upcoming webinars
$webinar = reset($webinars)
$webinar->registerConsumer($consumer);
Is there a way to see the response and a joinUrl?
Thanks!
warpper should probably be spelled wrapper. Unless you mean warpper?
I would do a pull requrest, but I've already had to make a couple of other changes to the code to suit my need, however my biggest issue has been the Webinar key being converted to a float (I've also added the ID as an additional public field) - Fix for this is
ServiceAbstract.php
Function SetResponse
$this->response = (array) json_decode($response, true, 512, JSON_BIGINT_AS_STRING);
Hope this helps
First of all thanks for the package!
Here's the code
$client = new Direct($this->gotoWebinar['consumerKey']); $client->auth($this->gotoWebinar['username'], $this->gotoWebinar['password']); $webinarKey = 99999999; $registrantData = ['email' => '[email protected]', 'firstName' => 'Joe', 'lastName' => 'Smith']; $goToWebinar = new GoToWebinar($client); $result = $goToWebinar->register($webinarKey, $registrantData);
I followed the example in the readme.. am I missing a step ?
Here's the error
in Consumer.php line 91 at Application->Laravel\Lumen\Concerns\{closure}('8', 'Undefined index: firstName', '/home/ctl/public_html/vendor/teodortalov/citrix/src/Citrix/Entity/Consumer.php', '91', array('data' => array('registrantKey' => '9999999999999999', 'joinUrl' => 'https://global.gotowebinar.com/join/174453500580248099898/82761999506', 'status' => 'APPROVED', 'description' => 'The user is already registered.'))) in Consumer.php line 91
Any help appreciated!
Hi there,
I really enjoy you package and has made life for me easier. It would really interest me to hear how it came about that you built it in the first place. Also are you going to maintain it further going forward?
Thanks!
Authentication Upgrade for Citrix GoTo Product APIs
Later this month (March 2015), Citrix will release an upgrade for user authentication via API. This upgrade will introduce some security enhancements for the product APIs, and will result in a more consistent and easier sign-on experience for all of your users. In addition the authorization flow will automatically work for upcoming sign-on features from Citrix. The upgrade may impact some existing implementations.
Impact expected
The upgrade will impact the applications implementing OAuth in ways other than the ones documented or recommended. For example, embedding the product user credentials to avoid user interaction during login exposes the user accounts to security risks. This implementation will break after the upgrade is released.
Citrix has provided test OAuth and Direct Login requests you can use to validate your authorization method. We strongly advise that you run your calls using these requests within the next week or two to validate that your application will continue to run as expected. If your code does not run, this gives you time to revise your code as needed. In general, if you want to automate user login, Direct Login is the preferred method.
No impact expected
If you are using Direct Login for your authorization flows, you should see no change. In addition, if you are using the OAuth flow as documented on the site, you should see no change.
If you have any questions, please contact [email protected]
Thank you,
Your Citrix API Team
Hello great library btw! I'm using it alongside the Laravel framework. Whenever I use this code I
$goToWebinar = new \Citrix\GoToWebinar($client); //@see $client definition above
$webinars = $goToWebinar->getUpcoming();
var_dump($webinars) //this gives you all upcoming webinars
I get the "Undefined index: registrationUrl" error. /citrix/src/Citrix/Entity/Webinar.php line 98.
What seems to be the problem?
Fatal error: Call to a member function getRegistrationUrl() on boolean in
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?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.