Connecting/Publishing to Facebook with FBConnect Works on Simulator, but not iPhone?

Have you had a look at the "Authentication and Authorization" section at https://github. Com/facebook/facebook-ios-sdk? The difference between the simulator and your device is that your device has the Facebook app installed.

If you didn't have the app installed, I'm guessing it would work perfectly because the authorization callbacks are handled directly within the app. However, with the Facebook app installed, after the user authenticates your app, the Facebook app "redirects" to your app using a URL handler It is your job to implement the correct URL handling code by setting up your plist property (which you appear to have done since your app relaunches after the Facebook app authorizes you), and also to respond correctly to the (BOOL)application:(UIApplication *)application handleOpenURL:(NSURL *)url app delegate message. The details to implement this launch handler correctly should be listed in the link above.

Have you had a look at the "Authentication and Authorization" section at https://github. Com/facebook/facebook-ios-sdk? The difference between the simulator and your device is that your device has the Facebook app installed.

If you didn't have the app installed, I'm guessing it would work perfectly because the authorization callbacks are handled directly within the app. However, with the Facebook app installed, after the user authenticates your app, the Facebook app "redirects" to your app using a URL handler. It is your job to implement the correct URL handling code by setting up your plist property (which you appear to have done since your app relaunches after the Facebook app authorizes you), and also to respond correctly to the - (BOOL)application:(UIApplication *)application handleOpenURL:(NSURL *)url app delegate message.

The details to implement this launch handler correctly should be listed in the link above.

You are correct that if I uninstall the Facebook app from my device, that the program works as it did on the simulator. I also initially forgot about the URL handling method you mentioned above. However, after implementing the method in my Application's Delegate (see below), I still experience the same results (on sim and device)... What else could I be overlooking?

I doubt this makes a difference, but I do have my facebook button as part of a Navigation Bar on a Flipside View. – JRoss Jun 1 at 16:36 - (BOOL)application:(UIApplication *)application handleOpenURL:(NSURL *)url { return flipsideViewController facebook handleOpenURL:url; } – JRoss Jun 1 at 16:37 I am new to StackOverflow, and forgot to include your username so you would be notified. Thanks again for your help!

– JRoss Jun 1 at 16:44 I have asked a follow-up question after approving your answer: handleOpenURL Method Not Called – JRoss Jun 1 at 15:43.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions