PHP code example of jrodella / oauth2-streamlabs
1. Go to this page and download the library: Download jrodella/oauth2-streamlabs 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/ */
jrodella / oauth2-streamlabs example snippets
$provider = new \Jrodella\OAuth2\Client\Provider\StreamLabs([
'clientId' => "YOUR_CLIENT_ID",
'clientSecret' => "YOUR_CLIENT_SECRET",
'redirectUri' => "http://your-redirect-uri-passed-in-streamlabs-dashboard"
]);