i am working on integrating fb login to our own application. Problem is example i downloaded it's working fine,when use the code in my project its getting error
Note: I Checked the fbapplicationid in .plist and in the url page they both are same.
If the device or computer is disconnected from the internet, you will see the “Safari Can't Open the Page” every time. Confirm that you have an active and functioning internet connection first, this is often the problem.
The first thing that you should do is check your Internet connection as Safari browser shows this error when your iDevice is not connected to either cellular or Wi-Fi network. Check the connection settings and make sure that it is enabled.
After User authorizes the App. Facebook request the browser to launch the app that requested access. That url is based on App's url schemes ( defined in App's plist). So you need to double check that. Safari shows error because it cannot find the url scheme -> Invalid URL
it is of the form like fb<myAppId>
.
After that do a clean build of project and run.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With