Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added .DS_Store
Binary file not shown.
23 changes: 0 additions & 23 deletions AppController.h

This file was deleted.

230 changes: 0 additions & 230 deletions AppController.m

This file was deleted.

28 changes: 0 additions & 28 deletions Info.plist

This file was deleted.

1 change: 1 addition & 0 deletions MGTwitterEngine.h
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@

// Show the specified list. Private lists will only be shown if the authenticated user owns the specified list.
- (NSString *)getListForUser:(NSString *)username withID:(MGTwitterEngineID)listID;
- (NSString *)getStatusesFromList:(NSString *)listName onAccount:(NSString *)username;

// Direct Message methods

Expand Down
19 changes: 18 additions & 1 deletion MGTwitterEngine.m
Original file line number Diff line number Diff line change
Expand Up @@ -1194,7 +1194,7 @@ - (NSString *)getFollowedTimelineSinceID:(MGTwitterEngineID)sinceID withMaximumI

- (NSString *)getUserTimelineFor:(NSString *)username sinceID:(MGTwitterEngineID)sinceID startingAtPage:(int)page count:(int)count
{
return [self getUserTimelineFor:username sinceID:sinceID withMaximumID:0 startingAtPage:0 count:count];
return [self getUserTimelineFor:username sinceID:sinceID withMaximumID:0 startingAtPage:page count:count];
}

- (NSString *)getUserTimelineFor:(NSString *)username sinceID:(MGTwitterEngineID)sinceID withMaximumID:(MGTwitterEngineID)maxID startingAtPage:(int)page count:(int)count
Expand Down Expand Up @@ -1627,6 +1627,23 @@ - (NSString *)getListForUser:(NSString *)username withID:(MGTwitterEngineID)list
responseType:MGTwitterUserLists];
}


- (NSString *)getStatusesFromList:(NSString *)listName onAccount:(NSString *)username
{
if (!username || !listName) {
NSLog(@"returning nil");
return nil;
}
NSString *path = [NSString stringWithFormat:@"%@/lists/%@/statuses.%@", username, listName, API_FORMAT];

NSString *body = [self _queryStringWithBase:nil parameters:nil prefixed:NO];

return [self _sendRequestWithMethod:nil path:path
queryParameters:nil body:body
requestType:MGTwitterListTimelineRequest
responseType:MGTwitterStatuses];
}

#pragma mark Friendship methods


Expand Down
Loading