1.1 No, you cannot modify the Info.plist file at run time.
1.2 No, you cannot load another plist file to override the settings in Info.plist.
2.1 Yes, you can determine FacebookApID without changing the Info.plist file by calling [FBSettings setDefaultAppID:@"Your Facebook App ID"]; See the FBSettings.h source code in the Facebook iOS SDK.
2.2 No. The URL scheme must be defined in Info.plist so that iOS can recognize it. I believe that the URL scheme is read by iOS when you install your application and is cached elsewhere on the system. Even if you can change your Info.plist, the system will not pick up your new URL scheme. But donβt worry, there is a workaround for Facebook authentication without using URL schemes! We can force the Facebook iOS SDK to use the UIWebView to log in, see fooobar.com/questions/1470897 / ....
source share