PHP code example of opauth / oauth

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

    

opauth / oauth example snippets



'OAuth' => array(
	'consumer_key' => 'YOUR CONSUMER KEY',
	'consumer_secret' => 'YOUR CONSUMER SECRET',

	'request_token_url' => 'http://OAUTH_SERVER/oauth/request_token',
	'access_token_url' => 'http://OAUTH_SERVER/oauth/access_token'
)