I am developing a application in which I have integrated Twitter by using these Twitter-Oath-iPhone. These library are working fine on lower version then ios 5 how can I use the twitter in ios 5. I don't know either Twitter change in there API or apple have make any change in ios 5.
Try by replace this Function in "SA_OAuthTwitterEngine.m"
- (SA_OAuthTwitterEngine *) initOAuthWithDelegate: (NSObject *) delegate {
if (self = (id) [super initWithDelegate: delegate]) {
self.requestTokenURL = [NSURL URLWithString: @"http://twitter.com/oauth/request_token"];
self.accessTokenURL = [NSURL URLWithString: @"http://twitter.com/oauth/access_token"];
self.authorizeURL = [NSURL URLWithString: @"http://twitter.com/oauth/authorize"];
}
return self;
}
in place of this code use this one
- (SA_OAuthTwitterEngine *) initOAuthWithDelegate: (NSObject *) delegate {
if (self = (id) [super initWithDelegate: delegate]) {
self.requestTokenURL = [NSURL URLWithString: @"https://api.twitter.com/oauth/request_token"];
self.accessTokenURL = [NSURL URLWithString: @"https://api.twitter.com/oauth/access_token"];
self.authorizeURL = [NSURL URLWithString: @"https://api.twitter.com/oauth/authorize"];
}
return self;
}
this one slove my problem........