I have application that is already running on iOS 5 as well as iOS 6. Now for next step I want to implement functionality of “Login with Facebook”.
My application already has login authentication so the facebook login will be additional one.I knew that iOS 6 has provided new framework for facebook but I have two questions:
- How do I implement this facebook functionality, so that it should work on both iOS 5 and iOS 6 devices?
2.How do I maintain session with facebook login?
1) Follow these steps for facebook login instructions: https://developers.facebook.com/docs/howtos/login-with-facebook-using-ios-sdk/
2) Once you implement the above using facebook sdk 3.x, this will also work for iOS 5 and iOS 6.