Unable to launch facebook using iPhone Apps

I am integrating facebook to my iphone application. for that I downloaded FacebookSDK and included it into my project.

I dont know where I went wrong, as I got below error when I lauch facebook through my apps

+[FBSession openActiveSessionWithPermissions:allowLoginUI:completionHandler:]: unrecognized selector sent to class 0x1a680c 2012-08-14 15:13:37.894 RightHand[11822:15803] * Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '+[FBSession openActiveSessionWithPermissions:allowLoginUI:completionHandler:]: unrecognized selector sent to class **strong text

Can anyone help me out in solving this?

Thanks in advance.

Answers


Note that what framework you add into your project !

is "FacebookSDK.framework"

not "FBiOSSDK.framework"


Need Your Help

Delphi XE4 Datasnap with CORS

delphi rest http cors datasnap

I am developing a datasnap server with REST. When the client trying to use a POST request the browser is trying to execute a OPTIONS request first that my server can't respond. Searching I found th...