Avinash Jadhav
Avinash Jadhav

Reputation: 501

Use of unresolved identifier FBSession

In my swift project, I am integrating facebook SDK using bridging File.

if FBSession.activeSession().state == FBSessionState.CreatedTokenLoaded{
   // whatever
}

I am getting the error message:

FBSession unresolved identifier

I could not find FBSession.h in FBSDKCoreKit.framework v4.0.1

Upvotes: 0

Views: 1642

Answers (2)

Afzaal Ahmad
Afzaal Ahmad

Reputation: 845

Facebook SDK updated use FBSDKAccessToken

Upvotes: 2

alexeis
alexeis

Reputation: 2198

Naming has changed to

FBSDKSession

Upvotes: 2

Related Questions