Ben Gottlieb的Twitter + OAuth iOS SDK - 用户名参数返回nil

Art*_*sev 2 twitter cocoa-touch mgtwitterengine ios twitter-oauth

似乎在周末,以下的Delegate方法

- (void)OAuthTwitterController:(SA_OAuthTwitterController *)controller authenticatedWithUsername:(NSString *)username

开始为username参数返回nil.

我想知道是否有其他人使用Ben Gottlieb的SDK可以确认这个问题.

谢谢

car*_*los 5

我今天遇到了同样的问题.该应用程序在过去2个月内运行良好.我改变的一件事是捆绑ID.也许这与这个错误有关,因为其他一切都是一样的.你有没有改变这个?

我在SA_OAuthTwitterEngine.m上更改为https urps for twitter,现在看起来工作正常.

这是我改变的代码:

self.requestTokenURL = [NSURL URLWithString: @"https://twitter.com/oauth/request_token"];
self.accessTokenURL = [NSURL URLWithString: @"https://twitter.com/oauth/access_token"];
self.authorizeURL = [NSURL URLWithString: @"https://twitter.com/oauth/authorize"];
Run Code Online (Sandbox Code Playgroud)