emotality emotality - 4 months ago 15
iOS Question

Force Facebook email and user_friends permissions

How to set

user_friends
and
email
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

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