emotality emotality - 1 year ago 121
iOS Question

Force Facebook email and user_friends permissions

How to set

permissions as Required, like Tinder.

Tinder Permissions:

Tinder permissions

My Permissions:

My permissions

I open my session with this:

[FBSession openActiveSessionWithReadPermissions:@[@"public_profile", @"email", @"user_friends"] allowLoginUI:NO completionHandler:^(FBSession *session, FBSessionState state, NSError *error) {}];

Answer Source

You can´t force permissions anymore. Tinder is still using a v1.0 App, you can´t use v1.0 in a newer App and it will be upgraded to v2.0 after April 2015.

You can only check if the user authorized specific permissions later, with the /me/permissions endpoint: https://developers.facebook.com/docs/graph-api/reference/v2.2/user/permissions

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download