Error: Safari cannot open the page because the address is not valid? Facebook Integration

I am working on fb name integration in our own application. The problem is that I downloaded it, working fine, when I use the code in my project, getting it error

Note. I checked fbapplicationid in .plist , and on the URL page they are both the same.

enter image description here

+6
source share
2 answers

After user authorization of the application. Facebook will ask the browser to launch the application requesting access. This URL is based on application URL patterns (defined in the Plist application). So you need to double check this. Safari shows an error because it cannot find the URL scheme -> Invalid URL

it looks like fb<myAppId> . After that, do a clean build of the project and run.

+5
source

Friends, when you try to use FBlogin for your application, do not forget to check .plist

Be sure to check before exegete

1.FBapplication ID

2.URLSchemas

+5
source

All Articles