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

  • SEARCH
  • Home
  • 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 9044295
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T10:57:00+00:00 2026-06-16T10:57:00+00:00

I have been making iOS apps for a while now and am pretty comfortable

  • 0

I have been making iOS apps for a while now and am pretty comfortable with that. What I haven’t done is add Facebook connectivity in any of my apps.

What I am looking today is for a tutorial of how to integrate Facebook SDK 3.0 with iOS 5.0 running with Xcode 4.2. During my research i found that 3.0 was compatible with Xcode 4.2. I am not ready to move onto iOS 6.0 and Xcode 4.5 just yet.

So my question is there any tutorial out there that can give me step by step instructions of how to integrate Facebook skd 3.0 with iOS 5 running on Xcode 4.2?

I have been looking for a tutorial for those specifications; all I find are tutorials and instructions for iOS 6 and Facebook SDK 3.1.

What I am able to do so far is

  • Download Facebook SDK 3.0 from this link http://developers.facebook.com/ios/downloads/
  • I signed up on Facebook developer account and create a sample project AppID
  • I tried compiling a brand new Xcode project with Facebook sdk but that’s where I started to run into issues.
  • 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-16T10:57:02+00:00Added an answer on June 16, 2026 at 10:57 am

    This tutorial shows how to integrate Facebook SDK 3.0 to upload statutes and post pictures to users walls. Hope this helps :http://xcodenoobies.blogspot.com/2012/09/how-to-upload-photo-and-update-status.html

    You can retrieve the birthdays of your (or the user’s) facebook friends with a single fql request.

    You can read about fql here: http://developers.facebook.com/docs/reference/fql/

    But here’s some code for reference (this code is in a class defined to be a FBSessionDelegate, and FBRequestDelegate)

    - (void)request:(FBRequest *)request didLoad:(id)result {
        // result is a NSDictionary of your friends and their birthdays!
    }
    
    - (void)fbDidLogin {
        //some best practice boiler plate code for storing important stuff from fb
        NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults];
        [defaults setObject:[facebook accessToken] forKey:@"FBAccessTokenKey"];
        [defaults setObject:[facebook expirationDate] forKey:@"FBExpirationDateKey"];
        [defaults synchronize];
    
        //now load all my friend's birthdays
        NSMutableDictionary * params = 
                             [NSMutableDictionary dictionaryWithObjectsAndKeys:
                             @"select birthday, name, uid, pic_square from user where uid in (select uid2 from friend where uid1=me()) order by name", 
                             @"query",
                             nil];
    
        [self.facebook requestWithMethodName: @"fql.query" andParams: params andHttpMethod: @"POST" andDelegate: self];
    }
    
    - (void) loginWithFacebook {
        self.facebook = [[[Facebook alloc] initWithAppId:@"<your app id here>" andDelegate:self] autorelease];
        //IMPORTANT - you need to ask for permission for friend's birthdays
        [facebook authorize:[NSArray arrayWithObject:@"friends_birthday"]];
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have been making applications in objective-c for a while now and feel i
I am making a game that needs a crosshair. I have been playing with
So, I've been making iOS apps since the first iPod touch came out, but
I have been making websites for years now. Most of them tend to be
I have been making components for Delphi for a couple months now. Currently I
I have been making plans to create a site that would contain several different
I have been making a form in html that has a checkbox and if
I have been making a few apps here and there, and I know my
I have been making webpages for about 5 years now. I'm a C# programmer
I have been playing with the Facebook iOS API the past days and I

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.