I have included the FBLoginView in my view controller on XCode without any problems. When I press the button in the iPhone simulator, I get redirected to facebook on safari, but it gives me an error that reads: the user is not allowed to see this application per the developer set configuration.
The app is set to public in the Facebook dashboard, and it is set up in settings with the bundle id and single sign on.
Any suggestions?
This error are most likely caused by using a Facebook test user account to log into a live (non-sandboxed) Facebook app, Facebook test users are app-specific. Sign out of Facebook and back in with a test user from the correct app.
There are other options like namespace is missing, secretId etc. but if the first answer is not the problem then my guess it's probably something with the app settings in FB.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With