Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error : Safari can't open the page because the address is invalid ? Facebook integration

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.

enter image description here

like image 451
LOVE_2_CODE Avatar asked Apr 01 '13 05:04

LOVE_2_CODE


People also ask

Why is Facebook saying Safari can't open the page?

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.

Why does my iPhone say Safari Cannot open the page?

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.


1 Answers

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.

like image 86
Shubhank Avatar answered Sep 18 '22 20:09

Shubhank