Search code examples
iosfacebook-ios-sdk

Prevent iOS native login using Facebook SDK 3.1


I am looking for a way to prevent the native Facebook iOS 6.0 login using Facebook SDK 3.1. I ask this because I would like to request read and publish permissions on login. Using the native login only allows you to request read permission.


Solution

  • I have found a fix for this. To request read and publish permissions on Login, thus preventing the native dialog use the deprecated method, openActiveSessionWithPermissions.