Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

FBConnect Demo Application

I am running the demo application that is supplied with the facebook-ios-sdk. The application starts in the emulator, with a LogIn button. I click the button which then launches safari to grant access to the application. I log in with my fb creds and allow the application. I am the administrator for the application and I have verified I put in the right app key.

After I allow access, it says "Safari cannot open the page because the address in invalid"...this is the url it's trying to go to: http://www.facebook.com/connect/uiserver.php...

So am I missing something because the breakpoint for (void)fbDidLogin never gets hit...

like image 233
Gabe Avatar asked Jun 04 '26 18:06

Gabe


1 Answers

I figured out the problem... I didnt bind my application to a URL scheme corresponding to my Facebook application ID. Once I did this the callbacks were working properly.

like image 191
Gabe Avatar answered Jun 07 '26 07:06

Gabe



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!