1

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.

Mirbek
  • 13
  • 3

2 Answers2

1

The latest API for PFFacebookUtils doesn't show a session member, although older documentation does show it (and a dramatically different set of API's)

And ultimately what happened was that Parse replaced FBSession with FBSDKLoginManager, 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".

Michael Dautermann
  • 88,797
  • 17
  • 166
  • 215
0

It is no longer necessary to explicitly close a session in ParseFacebookUtilsV4.

abinop
  • 3,153
  • 5
  • 32
  • 46