This question look duplicate and ye it is 50% duplicate because there is no good answer I found any where.
let me divide my question in three part.
Current Situation:
I have implemented sign up screen with Email, Date of birth, Gender and Zipcode.
This is working very nice. I have also implement share feature in facebook and twitter in iOS 5 and 6
But now I want to implement it with facebook and twitter like
shown in following example screen:

What is problem:
I want to know how can I implement login with facebook in iOS 5. twitter is integrated with ios 5 and 6, Facebook with iOS 6 so that is not big deal (right now I think so). I have already implemented share feature for both twitter and facebook for iOS 5 & 6. so what more I need to do to implement login.
What I get in response:
As I said I need Email, Date of birth, Gender and Zipcode at time of signup.
How can I get this information if I use login with facebook and twitter.
What should I do if user have not given or block this information of this social site.
Thanks…….
Here is how I implemented this feature in my app:
Download the Facebook SDK for iOS from here
In your
AppDelegate.hmake a property of the Facebook object.In your
AppDelegate.mwrite this:and in your
applicationDidFinishLaunchingmethod write this:and release
facebookindeallocWhere you want to login with Facebook write this function:
After login, the Facebook SDK delegate methods are automatically called. Do your stuff in delegate methods.