Magento API with iOS and Oauth 1.0 Login

I want to use magento APIin my application to get a list of products, add a basket and buy it from the application, etc.

I am very new to magento, I want to know that I need to implement oauth 1.0login to use the API from my iOS application?

According to this link, I assume that I need to implement the oauth 1.0 Magento API

I tried using this Oauth 1.0 code sample , I can get oauth_tokenand oauth_verifier.

But in the last step I want oauth_tokenand oauth_token_secretwhich I don’t get, but instead I get the html page in response. Not sure where I'm wrong.

Can you advise me, I'm going the right way to use the magento API And use Oauth 1.0 ?

Thanks.

+4
source share

Source: https://habr.com/ru/post/1617937/


All Articles