I am trying to integrate facebook sdk 3.1.1, I am getting issue in authenticating , when I authorize the app in safari it says “Cannot open page” – “Safari cannot open the page because the address is invalid”
any guesses ?
EDIT : if there is account added in settings it works fine, but if the there is no account linked, then have to open the session i open like this
[FBSession openActiveSessionWithAllowLoginUI:YES];
it opens the safari after authenticating the app[Okay], safari popups for “Cannot open page” and doen not open the app. Other ways of authenticating ???
I dint know or found any documentation that there is also facebook appid under
Project > Target > Info > URL Types > URL Schemes besides plist
in my case it was not there but in sample projects from facebook it was there, I inserted the appid with fb and it worked perfectly
Edit: put fb in front of your app id eg. fb123456789