I am currently trying to put together an app - with the foundation of it being (hopefully) built on the Facebook iOS SDK 3.0 tutorial.
The tutorial I am following is located at: http://developers.facebook.com/docs/tutorials/ios-sdk-tutorial/authenticate/
I have found there to be a few changes throughout the various SDK versions from Facebook when it comes to the final release.
However I do have one final issue before the code will compile:
"No known class method for selector 'sessionOpenWithPermissions:completionHandler:'"
This error refers to the following code:
- (void)openSession
{
[FBSession sessionOpenWithPermissions:nil completionHandler:
^(FBSession *session, FBSessionState state, NSError *error) {
[self sessionStateChanged:session state:state error:error];
}];
}
When looking at the FBSession.h file in Xcode there is no mention of sessionOpenWithPermissions
.
Can anyone please help me with regard to this? I am new to Objective-C/Xcode and am learning via trial by fire.