【问题标题】:Implementing OAuth 1.0 in an iOS app (Withings api)在 iOS 应用程序中实施 OAuth 1.0 (Withings api)
【发布时间】:2013-07-30 05:01:46
【问题描述】:

我正在使用 Withings api 开发 iOS 应用。 我一直在尝试在 iOS 应用程序中实现 OAuth 1.0,但我做不到。 我看到了Implementing OAuth 1.0 in an iOS app 页面。 在第二个答案中,他建议使用 TDOAuth https://github.com/tweetdeck/TDOAuth。 我尝试了代码并得到了很多错误。 如果有人有代码示例或项目,请通过此页面分享。

【问题讨论】:

    标签: ios oauth withings


    【解决方案1】:

    您可以使用 oauth.io,因为他们现在已经实现了 Withings OAuth,并且他们有一个 iOS SDK https://github.com/oauth-io/oauth-ios

    【讨论】:

      【解决方案2】:

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

      尝试链接所有步骤都解释清楚,一般解释,如果您想连接到特定网站的服务,请使用 OARequestParameter 类将该站点所需的参数添加到 OARequest 中。

      【讨论】:

        【解决方案3】:

        这是我使用simple-OAuth1成功集成Withings后写的博客,不知道有没有帮助..http://integratingwithings.blogspot.in/2014/05/withings-api-declassified-ios.html

        【讨论】:

        • 我一直在尝试实现您的,但遇到了一些问题。您是否有可用的源代码,以便我可以将其与我的项目进行比较并找出我哪里出错了?
        • 是的,你可以有源代码,请看博客评论回复。
        猜你喜欢
        • 1970-01-01
        • 1970-01-01
        • 2013-07-11
        • 2015-04-24
        • 1970-01-01
        • 1970-01-01
        • 2014-08-13
        • 1970-01-01
        • 2012-05-23
        相关资源
        最近更新 更多