PHP code example of frdlweb / webfan_webfat_elgg_bridge

1. Go to this page and download the library: Download frdlweb/webfan_webfat_elgg_bridge 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/ */

    

frdlweb / webfan_webfat_elgg_bridge example snippets




 return [
                'clientId'                => '...',  
                'clientSecret'            => '...',      
			    'redirectUri'             => 'https://example.com/auth/login/webfan/connect/', 
			    'urlAuthorize'            => 'https://webfan.de/apps/oauth2/authorize',   
			    'urlAccessToken'          => 'https://webfan.de/apps/oauth2/api/v1/token',    
			    'urlResourceOwnerDetails' => 'https://webfan.de/ocs/v2.php/cloud/user?format=json'	
		    ];