Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/iphone/43.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
使用OAuth在iPhone中实现Twitter?_Iphone_Ios4_Twitter Oauth_Mgtwitterengine - Fatal编程技术网

使用OAuth在iPhone中实现Twitter?

使用OAuth在iPhone中实现Twitter?,iphone,ios4,twitter-oauth,mgtwitterengine,Iphone,Ios4,Twitter Oauth,Mgtwitterengine,我正在尝试使用OAuth在我的应用程序中实现Twitter。。。我有我的按钮点击方法的所有代码。。。但只要我点击按钮,我的应用程序就会在下面的代码行中被杀死 UIViewController *controller = [SA_OAuthTwitterController controllerToEnterCredentialsWithTwitterEngine:_engine delegate:self]; 调试窗口中没有任何消息,只有CFrelease。。。我可能做错了什么 if(!_en

我正在尝试使用OAuth在我的应用程序中实现Twitter。。。我有我的按钮点击方法的所有代码。。。但只要我点击按钮,我的应用程序就会在下面的代码行中被杀死

UIViewController *controller = [SA_OAuthTwitterController controllerToEnterCredentialsWithTwitterEngine:_engine delegate:self];
调试窗口中没有任何消息,只有CFrelease。。。我可能做错了什么

if(!_engine){  

_engine = [[SA_OAuthTwitterEngine alloc] initOAuthWithDelegate:self];  
_engine.consumerKey    = kOAuthConsumerKey;  
_engine.consumerSecret = kOAuthConsumerSecret;  
} 

if(![_engine isAuthorized]){  

UIViewController *controller = [SA_OAuthTwitterController controllerToEnterCredentialsWithTwitterEngine:_engine delegate:self];  

if (controller){  
[self presentModalViewController: controller animated: YES];  
}  
}    
这个错误出现了

Xcode找不到源文件: OAMutableURLRequest.m


我用sharekit来做这些废话。今晚我花了10分钟才完成一系列服务。getsharekit.com