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 8647709
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T13:08:09+00:00 2026-06-12T13:08:09+00:00

I am trying to work my way through a Facebook SDK book I got

  • 0

I am trying to work my way through a Facebook SDK book I got off Amazon. The coding starts with
#import "Facebook/Facebook.h"
And has you create a Facebook object almost immediately. I do not seem to have this file anywhere in my SDK. Is this book outdated already? It was just published last fall…

  • 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-12T13:08:10+00:00Added an answer on June 12, 2026 at 1:08 pm

    The following is up to date and has been a great resource for me: Getting Started with the Facebook SDK

    I use the following import for accessing the Facebook SDK:

    #import <FacebookSDK/FacebookSDK.h>
    

    It appears your environment does not have the Facebook framework. Download that here.

    Update

    I have found the offical Facebook answer to this. Apparently these are deprecated headers that can still be used for backwards compatability.

    Note that at the bottom, if Xcode is having problems recognizing the import after you complete the steps below, restart XCode.

    Add the headers by dragging the DeprecatedHeaders folder from the
    FacebookSDK.framework/Versions/A/DeprecatedHeaders folder into the
    Frameworks section of your Project Navigator.

    Choose ‘Create groups for any added folders’ and deselect ‘Copy items
    into destination group’s folder (if needed)’. This adds the headers as
    a reference.

    Now, open up your app delegate header file and replace the Facebook
    framework import with the Facebook header import.

    Change:

    #import <FacebookSDK/FacebookSDK.h> 
    

    To:

     #import "Facebook.h" 
    

    This allows you to make call to the FBDialog classes. The Facebook.h
    header includes the
    header files.

    Note: If you have any problems with Xcode recognizing the Facebook.h
    file, just close and reopen your Xcode project.

    Source

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to work my way through an Objective-C tutorial. In the book there
Hey guys I'm trying to work my way through this but am having an
So I'm trying to work my way through this paper , which is primarily
I am trying to work my way through the NerdDinner tutorial - and as
I'm trying to work my way through a problem. It's two parts: I want
I'm trying to work my way through Ron Jeffries's Extreme Programming Adventures in C#.
I am trying to work my way through basic iPhone programming and I have
I'm trying to work my way through some frustrating encoding issues by going back
I'm trying to work my way through Compilers: Backend to Frontend (and Back to
I have been trying to work my way through Project Euler, and have noticed

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.