我正在使用 Withings api 开发 iOS 应用程序。我一直在尝试在 iOS 应用程序中实现 OAuth 1.0,但我做不到。我在 iOS 应用页面中看到了实现 OAuth 1.0。在第二个答案中,他建议使用 TDOAuth https://github.com/tweetdeck/TDOAuth。我尝试了代码并得到了很多错误。如果有人有代码示例或项目,请通过此页面分享。
			
			1547 次
		
3 回答
            2        
        
		
您可以使用 oauth.io,因为他们现在已经实现了 Withings OAuth,并且他们有一个 iOS SDK https://github.com/oauth-io/oauth-ios
于 2013-12-27T01:22:21.330   回答
    
    
            0        
        
		
http://code.google.com/p/oauthconsumer/wiki/UsingOAuthConsumer
试试那个链接,所有步骤都解释清楚了,一般解释,如果你想连接到特定网站的服务,请使用 OARequestParameter 类将该站点所需的参数添加到 OARequest 中。
于 2013-09-11T09:55:47.953   回答
    
    
            0        
        
		
这是我使用simple-OAuth1成功集成Withings后写的博客,不知道是否有用.. http://integratingwithings.blogspot.in/2014/05/withings-api-declassified-ios .html
于 2014-06-03T08:41:48.197   回答