Android - Parse facebook email權限與好友權限取得設定

摘要:Android - Parse facebook email權限與好友權限取得設定


    /**
     * facebook Login process
     */
    public static void facebookLogin(Activity ctx,LogInCallback loginCallback) {
        // Structure permission request.
        List permissions = Arrays.asList("public_profile","email","user_friends");
        
        // Login through ParseFacebookUtils.
        ParseFacebookUtils.logIn(permissions, ctx, loginCallback);
    }