i have set up a twitter client on my iphone using mgtwitterengine. i've managed to set it up so i can tweet and recieve status updates.
using the standard set up you can only receive between 10&20 updates. to be able to receive more updates then that you have to put[_engine getFollowedTimelineSinceID:0 startingAtPage:0 count:50];
but this does not allow you to get more than the original amount untill you activate
if (params) {
fullPath = [self _queryStringWithBase:fullPath parameters:params prefixed:YES];
}
in SA_OAuthTwitterEngine.m.
my problem is when i do this i can no longer post a new status from my app. i can have upto 200 statuses in the stream but no posting capabilities. this is the error:Error Domain=HTTP Code=401 "The operation couldn’t be completed. (HTTP error 401.)"
any help would be appreciated.
many thanks in advance
SOLVED
i just need to add if(requestType == MGTwitterUserTimelineRequest || requestType == MGTwitterFollowedTimelineRequest)
before if (params) {fullPath = [self _queryStringWithBase:fullPath parameters:params prefixed:YES];}
so that it looks like this:
if(requestType == MGTwitterUserTimelineRequest || requestType == MGTwitterFollowedTimelineRequest) {
if (params) {
fullPath = [self _queryStringWithBase:fullPath parameters:params prefixed:YES];
}
}
SOLVED
i just need to add if(requestType == MGTwitterUserTimelineRequest || requestType == MGTwitterFollowedTimelineRequest)
before if (params) {fullPath = [self _queryStringWithBase:fullPath parameters:params prefixed:YES];}
so that it looks like this:
if(requestType == MGTwitterUserTimelineRequest || requestType == MGTwitterFollowedTimelineRequest) {
if (params) {
fullPath = [self _queryStringWithBase:fullPath parameters:params prefixed:YES];
}
}