bengottlieb / Twitter-OAuth-iPhone

An easy way to get Twitter authenticating with OAuth on iPhone
http://www.standalone.com
799 stars 155 forks source link

Always getting just 10 -18 twits....how to get all the FriendsTimeLine Twits.?? #58

Open ajaysharmalike opened 13 years ago

ajaysharmalike commented 13 years ago

Hi..,

 I got successfully signed in by checking the user credentials.But when fetching the Twits I always get just 10 - 18 twits.The same twits get repeat for each & every page in iphone.

[_engine getFollowedTimelineSinceID:0 startingAtPage:1 count:100]; As per my knowledge,this method should return 100 twits for first page and supports 200 Twits....but just returns very few of that.I am getting confused how to get all the twits of FriendsTimeLine.

if(_engine) return;

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

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

if (controller) 
    [self presentModalViewController:controller animated: YES];
else {
            [_engine getFollowedTimelineSinceID:0 startingAtPage:1 count:100];
           }

So,Please suggest me the better way or where I am making mistake..

md347 commented 13 years ago

I had the same problem, here's the solution

http://stackoverflow.com/questions/4837417/action-in-iphone-stopped-working

bonekrusher commented 13 years ago

Also - https://github.com/mattgemmell/MGTwitterEngine/issues/64