Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9121777
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T05:56:19+00:00 2026-06-17T05:56:19+00:00

This question look duplicate and ye it is 50% duplicate because there is no

  • 0

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:

Login With Facebook

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…….

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T05:56:20+00:00Added an answer on June 17, 2026 at 5:56 am

    Here is how I implemented this feature in my app:

    1. Download the Facebook SDK for iOS from here

    2. In your AppDelegate.h make a property of the Facebook object.

      #import <UIKit/UIKit.h>
      #import "Facebook.h"
      
      @interface OutpearAppDelegate : NSObject <UIApplicationDelegate> {
          UIWindow *window;
          IBOutlet UINavigationController *navigationController;        
      }
      
      @property (nonatomic, retain) IBOutlet UINavigationController *navigationController;
      @property (nonatomic, retain) IBOutlet UIWindow *window;
      @property (nonatomic, retain) Facebook *facebook;
      +(DemoAppDelegate*)getAppDelegate;
      
    3. In your AppDelegate.m write this:

      synthesize facebook;
      

      and in your applicationDidFinishLaunching method write this:

      // Initialize Facebook with app ID
      facebook=[[Facebook alloc]initWithAppId:FB_APP_KEY andDelegate:nil];
      //here FB_AP_Key is your Facebook application key
      

      and release facebook in dealloc

    4. Where you want to login with Facebook write this function:

      - (void)loginWithFacbookIdClicked
      {
          [DemoAppDelegate getAppDelegate].facebook.sessionDelegate=self;
      
          if(isInternetAvailable)
          {
              if([[DemoAppDelegate getAppDelegate].facebook isSessionValid])
              {
                  //[facebookIntegration getUserFacebookPersonalInfo];
                   NSLog("User already logined with facebook");
              }
              else
              {
                  [[DemoAppDelegate getAppDelegate].facebook authorize:[NSArray arrayWithObjects:@"read_stream",
                                       @"publish_stream",
                                       @"email",
                                       @"user_birthday",
                                       @"friends_about_me",
                                       @"friends_activities",
                                       @"friends_likes",
                                       nil]];
              }
          }
          else
          {
             NSLog("No Internet Connection");
          }       
      }
      
    5. After login, the Facebook SDK delegate methods are automatically called. Do your stuff in delegate methods.

      - (void)fbDidLogin
      {
         NSLog("Logged into Facebook");
         // Your logic goes here.   
      }
      
      -(void)fbDidNotLogin:(BOOL)cancelled
      {
          DLog(@"Login Cancelled");
      }
      
      -(void)fbDidExtendToken:(NSString *)accessToken expiresAt:(NSDate *)expiresAt
      {
      
      }
      
      -(void)fbSessionInvalidated
      {
      
      }
      
      -(void)fbDidLogout
      {
      
      }
      
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

An answer to this question has led me to look into using Event Tracing
This question may look like a duplicate of: How to uninstall postgresql on my
Perhaps this is a duplicate question, but I havn't found something by myself. Basically
While searching for an answer to this question I found this sample code which
Possible Duplicate: What's an actual use of variable variables? OK, this question may look
i know this question might look like a duplicate. but i had a hard
I saw this question and it motivated me to look again (without success) at
I was having a look at this question: Getting random value from a SQLite
I know this question was asked for many times, and it may look like
I know this question has been asked before, and I took a look at

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.