Auto-login URL allows you to create direct link to all of your conferences, you are able to define access role: host, presenter or attendee. Start with preparing required data as follows:
1 2 3 4 5 |
$params = array( 'email' => 'email@domain.com', // email address 'nickname' => 'my_nickname', // user nickname 'role' => 'listener', // user role, other: presenter, host ); |
1 2 3 4 5 |
params = { 'email' => 'example@domain.com', 'nickname' => 'my_nickname', 'role' => 'listener' } |
1 2 3 4 5 |
params = { 'email' : 'example@domain.com', 'nickname' : 'my_nickname', 'role' : 'listener' } |
Now simply send request using the conferenceAutologinHash method.
Retrieving the event auto-login hash can be done as presented below.
1 2 3 4 5 6 |
try { $hash = $client->conferenceAutologinHash($room_id, $params); } catch (Exception $e) { // handle exceptions here } $autologin_hash = $hash->autologin_hash; |
1 2 3 4 5 6 |
begin hash = client.conferenceAutologinHash(room_id, params) rescue ClickMeeting::ClientError => e # handle exceptions here end autologin_hash = hash['autologin_hash'] |
1 2 3 4 5 6 |
try: hash = client.conferenceAutologinHash(room_id, params) except Exception, e: # handle exceptions here autologin_hash = hash['autologin_hash'] |
You could build auto-login url as: <:room_url>?l=<:autologin_hash>
Example:
http://example.clickmeeting.com/room_url?l=MTc0Njc4MjM2NDgyMTUyNjIzSEhG
You can find all the structures’ descriptions in the API Function Reference manual.