But, when I tried to access the page, it seems works fine, but I didn't get the product list array as expected!; instead it just redirected to customer account page in magento.
The steps followed:
1) Set up the consumer key, consumer secret etc.
2)Accessed the page through browser: http://myhost.com/oauth_customer.php
3)Asked for customer login credentials and then clicked “Authorize” button.
4)Page redirected to customer account page.