Getting "NSMutableDictionary may not respond to '-setValue:forKey:'" error from this code:
NSMutableDictionary *parameters = [[[NSMutableDictionary alloc] init] autorelease];
MKFacebookRequest *request = [MKFacebookRequest requestWithDelegate:self];
//set up parameters for request
[parameters setValue:[NSArray arrayWithObjects:[fbConnection uid], @"123456789", nil] forKey:@"uids"];
[parameters setValue:[NSArray arrayWithObjects:@"first_name",@"last_name",nil] forkey:@"fields"];
//send the request
[request sendRequest:@"users.getInfo" withParameters:parameters];
Any ideas?
Console Error:
2010-08-12 15:23:45.419 App[322:a0f] -[NSCFDictionary setObject:forkey:]: unrecognized selector sent to instance 0x46fa00 2010-08-12 15:23:45.419 App[322:a0f] -[NSCFDictionary setObject:forkey:]: unrecognized selector sent to instance 0x46fa00