I've been trying to develop iOS app using Facebook and I'm new. So I've been trying to make

a login with Facebook, followed a tutorial on Facebook and try to implement it.

But I've encountered, [FBSession sessionOpenWithPermissions] not found. When I run the

app, it will force close and say that error. When build the project, it will show warning

yellow exclamation that sessionOpenWithPermission is not found in FBSession

The tutorial outdated? If it is, then what is the new code for the new Facebook SDK for

sessionOpenWithPermission ?

Edit
Report