I'm using Magento 1.9.2.4 and local lamp server on ubuntu.İ want to Create a simple product as an Admin user with OAuth authentication. i also generated consumer key and consumer secret key but i cant install oauth on lamp server.
My Codes are in this link->
http://devdocs.magento.com/guides/m1x/api/rest/introduction.html But i'm taking error because i haven't got api folder in magento file. i dont have also auth/token file.
My Error occurs like this->
"Fatal error: Class 'OAuth' not found in /opt/lampp/htdocs/Example1/index.php on line 36"
Error code is here ->
$oauthClient = new OAuth($consumerKey, $consumerSecret, OAUTH_SIG_METHOD_HMACSHA1, $authType);
Do I need library of auth.php for Oauth class?