im try the request api for login in adobe connect until the my user don't need to login and automatic go to class link,i according the adobe connect use 2 way to request but I went right until the end but go to class link ,redirect to login page i do not know my problem
text in adobe connect for login:
Log in to an Adobe Connect hosted account with an account ID 1 Before you log the user in, call common-info with the domain name of your Adobe Connect hosted account in either the request URL or the domain parameter: http://acme.adobe.com/api/xml?action=common-info http://adobe.com/api/xml?action=common-info&domain=acme.adobe.com Last updated 9/4/2013 USING ADOBE CONNECT 9 WEB SERVICES 12 Login and requests 2 Parse the response for the values of cookie and account-id: Sbreezzd2dfr2ua5gscogv ... 3 Collect the user’s login ID and password in your application. 4 Call the login action, adding the user’s credentials and the account-id and session parameters: https://example.com/api/xml?action=login&[email protected] &password=happy&account-id=295153&session=Sbreezzd2dfr2ua5gscogv 5 Parse the response for a status code of ok. 6 (Optional) If you prefer, you can call login before common-info, extract the cookie value from the response header, and manage it yourself or using a cookie management library.
$class_link = "http://185.50.145.230/academy9"
$response = file_get_contents("http://185.53.140.234/api/xml?action=common-info");
$result = simplexml_load_string($body);
$value = $result->common->cookie;
$session = (string)$value;
$account = $result->common->account->attributes()->{'account-id'};
$account_id = (int)$account;
$link = "https://185.50.145.230/api/xmlaction=login&[email protected]&password=123456&accountid=".$account_id."&session=".$session;
$response2 = file_get_contents($link);
$_SESSION['BREEZESESSION'] = $session;
header("Set-Cookie: BREEZESESSION=".$session);
header("Location: ". $class_link);
die();
Today I found your question and it helped me to login to Adobe Connect with PHP. I have solved your problem by passing the session parameter to the meeting URL. Surely you would already find the problem, but I write it in case it helps someone. Greetings