I have an application for iPhone / iPad that performs basic photo editing and gives the user the ability to upload the finished product to Facebook. The app has over 100,000 users, and most of them do not seem to have problems uploading their photos to Facebook. However, there are a few users who cannot upload their photos no matter what they try. I worked with them to make sure that these are not application permissions or Facebook settings that block them and cannot find any problems there. Therefore, I am wondering if I am not doing something wrong with FBConnect, which is why the problem arises because of this. Here is the code:
- (void)initFacebook { if( self.facebook == nil ) { Facebook *fb = [[Facebook alloc] init]; self.facebook = fb; [fb release]; } if( [self.facebook isSessionValid] ) { [[NSNotificationCenter defaultCenter] postNotificationName:@"FacebookIsReady" object:nil userInfo:nil]; } else { NSArray *perms = [NSArray arrayWithObjects:@"publish_stream", @"user_likes", nil]; [self.facebook authorize:MY_FB_APP_ID permissions:perms delegate:self]; } } -(void)fbDidLogin { [[NSNotificationCenter defaultCenter] postNotificationName:@"FacebookIsReady" object:nil userInfo:nil]; }
In FBRequestDelegate, doLoad is always called, even when the photo does not appear on the Facebook profile. So, I get a code that will never work, but the photo does not always appear on the Facebook profile.
Is it possible that the application cannot create a new album in the user profile? I saw others reporting this problem earlier in different groups, but never found a real solution. Thanks.
source share