I am trying to Log In a user via Facebook. In the previous version of swift 1.2 everything worked perfectly, but after migration I can't seem to log in via my FB account I am still getting the error saying:
-canOpenURL: failed for URL: "fbauth://authorize/?client_id=... error: "This app is not allowed to query for scheme fbauth"
Can you please help me with that?
From the WWDC 2015 "Privacy and Your App" video, add the following to your info.plist file:
<key>LSApplicationQueriesSchemes</key>
<array>
<string>fbauth</string>
</array>