FBConnect Demo Application

I am running a demo application that comes with facebook-ios-sdk. The application is launched in the emulator using the "Login" button. I click the button, which then launches the safari to provide access to the application. I log in with my fb credits and allow the application. I am the application administrator and I confirmed that I entered the correct application key.

After I allow access, he says: โ€œSafari cannot open the page because the address is invalidโ€ ... this is the URL that he is trying to go to: http://www.facebook.com/connect/uiserver .php ...

I missed something because the breakpoint for (void)fbDidLoginnever hits ...

+3
source share
3 answers

I realized that the problem ... I did not bind my application to the URL scheme matching my Facebook application id. Once I did this, callbacks worked correctly.

+1
source

This is the problem of your registration. I think you put the wrong thing in the site box

0
source

Source: https://habr.com/ru/post/1782210/


All Articles