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.
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.
Friends ,when ever you are trying FBlogin to your application ,dn't forget to check .plist
Must verify before you exegete
1.FBapplication ID
2.URLSchemas
来源:https://stackoverflow.com/questions/15738219/error-safari-cant-open-the-page-because-the-address-is-invalid-facebook-int