First, make sure that you followed the Getting Started instructions correctly.
make sure you add this code to your application delegate:
#import <FBSDKCoreKit/FBSDKCoreKit.h> - (void)applicationDidBecomeActive:(UIApplication *)application { [FBSDKAppEvents activateApp]; } - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { return [[FBSDKApplicationDelegate sharedInstance] application:application didFinishLaunchingWithOptions:launchOptions]; } - (BOOL)application:(UIApplication *)application openURL:(NSURL *)url sourceApplication:(NSString *)sourceApplication annotation:(id)annotation { return [[FBSDKApplicationDelegate sharedInstance] application:application openURL:url sourceApplication:sourceApplication annotation:annotation]; }
After that, there is another section below the <-> URL types (and here I spent several hours)
make sure that the values ββin the "URL Schema" field match the value in the URL types β URL Schema in the property list above. (and also match FacebookAppID)

Aviram netanel
source share