How to set user_friends
and email
permissions as Required , like Tinder.
Tinder 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) {}];
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
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.