iOS Facebook SDK "user cancelled login" when running app on device?

Viewed 9775

I'm using the latest iOS Facebook SDK and I can log in and out perfectly when I am running my app in the simulator (in which case it opens the non-native popup window because the facebook app is not installed), but when I run it on my device I get the native uialertview popup and when I click "ok", the terminal says "user cancelled login" and the popup dismisses but it doesn't log in. Do you have any idea what could be causing this? I have done some research and couldn't find anything. I have pretty much followed their example app "Scrumptious" to the letter and I can't figure out why it works for that app but not mine.

4 Answers
Related