How to install the oauth in php. Can any one provide me the full description, links and all the libraries. I tried from here but I could not understand
I want to access the oauth token by the following code
$oauth = new OAuth(API_CONSUMER_KEY, API_CONSUMER_SECRET);
but this is not working because php extension for oauth is not installed
Yup, u need this file php_oauth.dll (windows)
Put into
/bin/php[version]/ext
And you need to change php.ini to load oauth (Dynamic Extensions)
extension=php_oauth.dll
First of you have to download pear run it. than Install the Oauth extension. For windows you should have compiled file. of .dll file of extension. Best of luck
You can find the correct dll files here
Make sure you select the correct file on the following factors:
- PHP version
- Architecture (x86 or x64)
- Thread Safety (Yes/No)
You can find these info using php_info(); of your server.