저는 iPhone 응용 프로그램 개발을 처음 사용하고 있으며, iPhone 응용 프로그램을 통해 Facebook에 이미지를 업로드하려고합니다. fbconnect를 사용하는 아래 코드를 시도했지만 작동하지 않습니다.facebook에서 이미지 업로드 연결 iphone
NSMutableDictionary *args = [[[NSMutableDictionary alloc] init] autorelease];
[args setObject:fbimages forKey:@"image"]; // 'fbimages'(it is having 2 images) is an array of 'UIImage' objects..
FBRequest *uploadPhotoRequest = [[[FBRequest alloc] init] autorelease];
uploadPhotoRequest = [FBRequest requestWithDelegate:self];
[uploadPhotoRequest call:@"facebook.photos.upload" params:args];
//[[FBRequest requestWithDelegate:self] call:@"facebook.photos.upload" params:args];
NSLog(@"uploading image is successful");