`- (NSString *)createListsForUser:(NSString *)username withName:(NSString *)listName withOptions:(NSDictionary *)options;`
This is to clean up the method definitions for Lists. A number of the calls require the user to the authorised user (like list creation) which means it doesn't make sense to be able to specify a user. This may change in the future should Twitter allow people to collaborate on lists.
…or's. Note I have not used MGTwitterEngineID as the cursors need to be signed, not unsigned. I have also added some error checking in the getFollowerIDs & getFriendIDs; a cursor of 0 is invalid, as is a username name of "". I have also changed the format of the request to match the other API request methods
At present, I am only handling NSXML parsing. LibXML is next and YAJL once I have it built and installed on my system.
…pported by Twitter. Removed the methods that used a NSDate for the "since" parameter: they are no longer supported by Twitter. Added a withMaximumID: method signature to the APIs that support the new "max_id" parameter. Updated search API to use include additional parameters. Updated search API to use the current terminology for trends. Fixed YAJL parsing "created_at" so that it handles the different date formats for the Search and REST APIs. Improved YAJL parsing when Twitter returns short (and invalid) JSON results. Simplified the -description method for MGTwitterHTTPURLConnection. Made many of the delegate methods optional—only -requestSucceeded and requestFailed:withError: are required. Fixed -_sendRequestWithMethod:path:queryParameters:body:requestType:responseType so it can handle requests for trends. Added #if DEBUG around NSLog() so a preprocessor definition can be used to control logging. Fixed a crash in the NSURLConnection authentication challenge if the username and/or password was nil. Major reorganization of source code so similar methods are grouped together (using the same grouping as Twitter's own documentation.) Added much more granularity to the MGTwitterRequestType enumeration: an application can now determine which method was used to generate a data object.
…ished -- makes final cleanup easier when there are multiple connections.
… app controller.