2016-12-31

Meteor - Catching/customizing a successful or unsuccessful Facebook log-in event


"click #login-buttons-facebook" : function(e, tmpl){


    Meteor.loginWithFacebook(
        {}
        , function(err) {

            // Error reporting            
            if(err){
            }//err

            // Success            
            else {
            }//else
        }//function    
    );//loginWithFacebook

}//click

No comments:

Post a Comment