Can someone tell me how I can implement the Oauth api for my site. I downloaded an example fromhttp://code.google.com/p/oauth-php/downloads/list(oauth-php-175.tar.gz)
I created the database and ran the register.php file in example/server, and I got the user key and secret key. I replaced the api key and the secret key with this in client/twolegged.php. replaced byserver/www/hello.php
But when I run the file client/twolegged.php, I get an error
ExceptionRequest failed with code 401: Can't verify request, missing oauth_consumer_key or oauth_token-OAuth Verification Failed:
Is this the right way to do this? Please help me?
source
share