Location: PHPKode > scripts > lib_oauth > iamcal-lib_oauth-b267a88/test/config.php
<?
	#
	# you will want to edit at least the callback URL below to
	# get things running. it needs to point to your own copy
	# of 2_callback.php
	#

	define('OAUTH_CONSUMER_KEY',	'gDGTH8u2vMPLKgRYHi53WQ');
	define('OAUTH_CONSUMER_SECRET',	'GYbImo4hvCttwGsHC7BY9id01vzxxTOroVaTuP4vc');

	define('OAUTH_REQUEST_URL',	'https://api.twitter.com/oauth/request_token');
	define('OAUTH_ACCESS_URL',	'https://api.twitter.com/oauth/access_token');
	define('OAUTH_AUTHORIZE_URL',	'https://api.twitter.com/oauth/authorize');

	define('OAUTH_CALLBACK_URL',	'http://127.0.0.1/misc-projects/lib_oauth/test/2_callback.php');

	define('OAUTH_PROTECTED_URL',	'http://api.twitter.com/1/statuses/user_timeline.xml?count=1');


	function dump_last_request(){

		echo "<div style=\"background-color: #fee; border: 4px solid #900; padding: 1em; margin: 1em 0;\">";
		echo "Last HTTP Request:";
		echo "<pre>".htmlspecialchars(var_export($GLOBALS[oauth_last_request],1))."</pre>";
		echo "</div>";
		exit;
	}
?>
Return current item: lib_oauth