PHP code example of pplink / pagecall

1. Go to this page and download the library: Download pplink/pagecall library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

pplink / pagecall example snippets


// change path as needed
ll\PageCall([
    'accessKey' => 'test',
    'secretKey' => 'test'
]);

// change path as needed
ew \PageCall\PageCall([
        'accessKey' => 'test',
        'secretKey' => 'test'
    ]);

    $pca = $pageCall->connectIn([
        'userId' => $_POST['userId'],
        'publicRoomId' => $_POST['publicRoomId']
    ]);
    echo $pca['html'];
} catch (\PageCall\Exceptions\PageCallSDKException $e) {

} catch (\PageCall\Exceptions\PageCallAuthenticationException $e) {

}