jeudi 13 août 2015

Facebook Custom login UI with sdk 4

Im using this code for custom login ui from Facebook developer page, It gave me a log message "FBSDKLog: starting with Graph API v2.4, GET requests for /me should contain an explicit "fields" parameter". Kindly tell me how can i remove this

FBSDKLoginManager *login = [[FBSDKLoginManager alloc] init]; [login logInWithReadPermissions:@[@"public_profile"] handler:^(FBSDKLoginManagerLoginResult *result, NSError *error) { NSLog(@"%@", result); if (error) {

    }
    else if (result.isCancelled)
    {
    }
    else
    {
       if ([result.grantedPermissions containsObject:@"email"])
        {

        }
    }
}];



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire