I am trying integrate Facebook login using Parse, but the following code: var FBSession = PFFacebookUtils.session gives the error
Type "PFFacebookUtils" has no member "session"
I am using the latest Parse SDK and Facebook SDKs, is "session" method deprecated or what? thanx in advance.
The latest API for PFFacebookUtils doesn't show a
sessionmember, although older documentation does show it (and a dramatically different set of API's)And ultimately what happened was that Parse replaced
FBSessionwithFBSDKLoginManager, as described in this changelog from 3.x to 4.x. They do recommend reading the "Upgrade the iOS SDK from 3.x to 4.x document".