I am integrating facebook in iOS app. Getting following errors.
1 when i tap on close button of login window, getting error com.facebook.sdk error 2. Note that i dont get this error on tapping login button. I can login successfully, getting this error only when i close the login window instead of pressing login button.
bundle identifier is added in developer account and its correct. Searched and tried the following solutions.
com.facebook.sdk error 2 on iOS Facebook SDK iOS error 2 How to resolve "com.facebook.sdk error 2" under the condition that "allow these apps to use your account" is off for my app
2 Cannot use the Facebook app or Safari to authorise, fb**** is not registered as a URL Scheme. My URL scheme in plist is correct. Already tried following solutions.
FBSDKLog: Cannot use the Facebook app or Safari to authorize, fb**** is not registered as a URL Scheme Failing to open active session after updating Facebook SDK to 3.5 Integrating Facebook SDK in iOS
Any other solution for both issues ??