Implementing OAuth 1.0 in an iOS app (Withings api)

1.5k Views Asked by At

I'm developing an iOS app with Withings api. I've been trying to implement OAuth 1.0 in an iOS app but I couldn't. I saw Implementing OAuth 1.0 in an iOS app page. And at the second answer he suggested TDOAuth https://github.com/tweetdeck/TDOAuth. I tried the code and got many errors. If anyone has code examples or projects, please share through this page.

3

There are 3 best solutions below

0
BalaChandra On

http://code.google.com/p/oauthconsumer/wiki/UsingOAuthConsumer

try that link all the steps are clearly explained, it is explained in general, if you want to connect to a specific website's service, add the required parameters for that site to the OARequest using OARequestParameter class.

0
user2255745 On

You can use oauth.io as they have now implemented Withings OAuth and they have an iOS SDK https://github.com/oauth-io/oauth-ios

2
iSankha007 On

Here is the blog I have written after successfully integrating Withings using simple-OAuth1,don't know whether it will be helpful or not..http://integratingwithings.blogspot.in/2014/05/withings-api-declassified-ios.html