iphone - twitter ios5 integration autorize with custom login and password -
iphone - twitter ios5 integration autorize with custom login and password -
i want ios5 application post tweets. i'm using standard code reywenderlich's tutorials:
-(void)postontwitter:(id)sender { nslog(@"postontwitter: called"); if ([twtweetcomposeviewcontroller cansendtweet]) { twtweetcomposeviewcontroller *tweetsheet = [[twtweetcomposeviewcontroller alloc] init]; [tweetsheet setinitialtext:@"tweeting ios 5 tutorials! :)"]; [self presentmodalviewcontroller:tweetsheet animated:yes]; } else { uialertview *alertview = [[uialertview alloc] initwithtitle:@"sorry" message:@"you can't send tweet right now, create sure device has net connection , have @ to the lowest degree 1 twitter business relationship setup" delegate:self cancelbuttontitle:@"ok" otherbuttontitles:nil]; [alertview show]; }; }
everything fine, code work if have twitter business relationship on device. but! need twitter login , password typed in info screen in application. need perform action custom login data, not login info pulled twitter account. ex. need same tweet login: 123 , password: qwerty.
help me please, how can done?
if using ios5 twitter framework email not provide facility. if want custom login dialog utilize s_oauth.you can follow link: http://www.dotnetexpertsforum.com/how-to-integrate-twitter-in-your-iphone-t1836.html
iphone objective-c ios ios5 twitter
Comments
Post a Comment