How do i notify iphone app when user cancel SSO process?

I have an issue with SSO facebook in my iphone app. I have searched but no userful result for me. My app have two functions: login/sigup using facebook. My problem is how do i notify my app that user cancel SSO? the steps follow describe for it:

  1. User click on "Connect using facebook", then app switch user to Facebook app.
  2. When facebook validation process not done, user press Home button (on his device) and go back my app. --> How to notify my app what happen here. i have found in Facebook SDK but no mentions for it.

Thank for reading. GE.


For SSO implementation you save your facebook key in NSUserDefault (I guess because it is internal Facebook or cookies of exist or not.)

So when you launch your app please check in callback method applicationDidBecomeActive that your NSUserDefault or Cookie exist or not and show popup accordingly.

Need Your Help

Codesign of Dropbox API fails in Xcode 4.6.3: "code object is not signed at all"

xcode macos dropbox code-signing mac-app-store

I have an OS X app that's distributed through the Mac App Store, and recently updated to Xcode 4.6.3.

Making use of the extra pixels on 1136x640 iPhone 5 Screen?

iphone screen screen-size iphone-5

Without the 1136 launch image, apps now run in letterbox mode with black bars on either end.