I am working on creating REST API using php oAuth for retrieving magento products.
oAuth is successfully installed on XAMPP for linux. but not able to view in phpinfo().
Also, I able to get magento products in XML format. Now to need to consume this product data using oAuth authentication.
I have created php file with code given on "http://www.magentocommerce.com/api/rest/introduction.html#RESTAPIIntroduction-Retrievethelistofprodu..." in htdocs directory. but Getting error as "Class OAuth" not found.
Can you please help me?
Thanks in advance.
Open the file php.ini and paste there extension=oauth.so
and then resart the server and check if it is showing in phpinfo()
I did like you said, means, added the extension. then also, getting the same error as :
" Fatal error: Class 'OAuth' not found in C:\xampp\htdocs\magento\tests\customers.php on line 21 ".
Plz can anyone tell me the solution .