I spent the whole day on this problem and did not find any good answer after several hours of searching and debugging. I finally solved the problem and I will share it here.
The facebook-ios-sdk configuration documentation shows how to configure the URL scheme, which is used to return the user to your application after authorization. Something like fb12087732691 ...
Unfortunately, they use the old version of Xcode, and the graphical interface looks like this:

In fact, using Xcode 4+, this is:

Hope this saves someone a few hours of their lives !!!
Kwame source share