Created
March 17, 2010 15:00
-
-
Save steffentchr/335328 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| include_once 'HTTP/OAuth/Consumer.php'; | |
| require_once 'HTTP/OAuth.php'; | |
| require_once 'HTTP/OAuth/Consumer/Request.php'; | |
| require_once 'HTTP/Request2.php'; | |
| // Set up HTTP request | |
| $httpRequest = new HTTP_Request2; | |
| $request = new HTTP_OAuth_Consumer_Request; | |
| $request->accept($httpRequest); | |
| // Set up OAuth consumer | |
| $consumer = new HTTP_OAuth_Consumer($visualplatform_config['key'], $visualplatform_config['secret'], $visualplatform_config['token'], $visualplatform_config['token_secret']); | |
| $consumer->accept($request); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment