I\'ve just \"upgraded\" my Facebook SDK to 4.0 for my iOS app.
I\'ve got the log in working okay, however, according to the documentation, I\'m now supposed to use
It seems like you need to call the AppDelegate method to initialize the SDK before you call enableUpdatesOnAccessTokenChange:YES
I made my AppDelegate didFinishLaunching method like this
BOOL fbsdk = [[FBSDKApplicationDelegate sharedInstance] application:application didFinishLaunchingWithOptions:launchOptions];
[FBSDKProfile enableUpdatesOnAccessTokenChange:YES];
return fbsdk;
That seemed to work. You still might need to do a /me
request if you need items not in the profile object.