Search code examples
iphone-sdk-3.0twitter-oauthmgtwitterengine

Twitter-oAuth-IPhone : Which function on Login Success : twits of followings


I am using Twitter-oAuth-IPhone https://github.com/bengottlieb/Twitter-OAuth-iPhone

Login using this code

if(![twitterObj isAuthorized]){
    UIViewController *controller = [SA_OAuthTwitterController controllerToEnterCredentialsWithTwitterEngine:twitterObj delegate:self];
    if (controller){
        NSLog(@"twitter 2");
        [[self objectForKey:@"self"] presentModalViewController: controller animated: YES];
    }
}

I have 2 questions

  • I want to do some code on login success and login fail.... in which function should I code
  • Which function return me the my home page updates i.e twits of followings

Amit Battan


Solution

  • I want to do some code on login success and login fail.... in which function should I code
    - (void) storeCachedTwitterOAuthData: (NSString *) data forUsername: (NSString *) username

    Which function return me the my home page updates i.e twits of followings
    getFollowedTimelineSinceID