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

authentication, facebook, safari, xcode4.6

Solution

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.

Problem

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.

Original source