adobeconnect-php-api-client's People
Forkers
jhulick jarofghosts ywarnier mtapp cooperfellows 42deluxe torohitroy muslumkilic jess7050 samavestaadobeconnect-php-api-client's Issues
Change User password functionality
Hi,
i was using this library but facing problems using the updateUser to change the password, so i have added this function to do that:#
public function changeUserPassword($email, $newPassword) {
$principal_id = $this->getUserByEmail($email, true);
return $this->makeRequest('user-update-pwd',
array(
'user-id' => $principal_id,
'password' => $newPassword,
'password-verify' => $newPassword
)
);
}
i have used the information provided here: https://helpx.adobe.com/adobe-connect/webservices/user-update-pwd.html
If you want to add to your library, feel free. And thank you very much for your work !!
Issue With Event Descriptions Containing Line Breaks
First off, thanks for a nice library to make working with this API easier.
I've run into an issue when events have line breaks in their descriptions. The way you are grabbing the XML data out of the response code is by exploding the response on two line breaks:
$temp = explode("\r\n\r\n", $response);
This works great on most responses, as the content of the information comes after two line breaks following the date:
HTTP/1.1
200 OK
Server: Apache-Coyote/1.1
Set-Cookie:
BREEZESESSION=xxxxxxxxxxxxxxxx;HttpOnly;domain=.adobeconnect.com;secure;path=/
Cache-Control: max-age:5
Expires: now
Content-Type: text/xml
Content-Length: 3682
Date: Wed, 30 Mar 2016 16:22:54 GMTCompleted/123456abcde/2015-04-30T12:33:45.810-04:00
However, this is not always the only place where two line breaks could occur, so the possibility exists that you could wind up with multiple results in the array, so you can't rely on using $temp[1]
.
You can get around this issue by prepending your explode string with 'GMT', as that is always present prior to the line breaks:
$temp = explode("GMT\r\n\r\n", $response);
It's been working in my testing so far, but please, feel free to suggest an alternate solution.
Thanks again.
code issue
Hi,
I am using exactly same code with valid username and password but it doesn't seems to be working.
I have used exactly same thing as below:
$client = new AdobeConnectClient();
$acc->createUser('[email protected]', 'p4s$w0rD', 'Firstname', 'Lastname');
$acc->getUserByEmail('[email protected]', true);
$folder_id = $acc->createFolder('test folder', 'api_test_folder');
$meeting_id = $acc->createMeeting(
$folder_id,
'test meeting',
'2014-11-04T09:00',
'2014-11-04T11:00',
'api_test'
);
$acc->inviteUserToMeeting($meeting_id, '[email protected]');
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.