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…
I am trying to work my way through a Facebook SDK book I got
Share
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:
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.
Source