I upload photos to my facebook wall uising Facebook IOS sdk graph API. Everything works fine, this is the usual code that I use:
NSData *yourImageData= UIImageJPEGRepresentation([_images objectAtIndex:pageIndex],0.5);
NSMutableDictionary *params = [NSMutableDictionary dictionaryWithObjectsAndKeys:
@"Photo taken with my app", @"message", yourImageData, @"source", nil];
[_facebook requestWithGraphPath:@"/me/photos" andParams:params andHttpMethod:@"POST" andDelegate:self];
So my question is, should I compress my image further? or is there any other way for photos to be downloaded faster?
Thanks a lot, fan
source
share