PHP code example of gertoska / oauth2-request

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

    

gertoska / oauth2-request example snippets

 php
$api = new Request($accessData);
$api->getOrRefreshAccessToken();

$api->request($method, $path, $params);