This is my third question about posting on Facebook.
Although this may be a duplicate of Mac OS X Facebook login failed - no stored remote_app_id for app but I decid
We had the same problem, but since Facebook is changing layouts a lot, I'm posting what solved our problem with pictures again. The solution is similar to Andrew Kosovich's answer, but with new interface there are some changes.
Login to your Facebook Developers and select your problematic app.
Go to app's settings

Check if iOS is already added. If you find iOS section, go to step 4, otherwise add it, by clicking Add platform button.

Enter correct bundle ID of your application into the appropriate box.

After entering correct details the login with Facebook SDK should work.
Warning: Do not forget to enable Facebook access to your application in the Settings application of the specific iOS device.