Nachos Preventing Motivation

    nativescript-stage-facebook-login

    1.0.7 • Public • Published

    nativescript-stage-facebook-login

    Example usage:

        const FacebookLoginHandler = require("nativescript-stage-facebook-login");
    
        // Initialize the handler
        FacebookLoginHandler.init(this._env.config.facebook.appId, this._env.config.facebook.appDisplayName);
    
        // Register our callbacks
        FacebookLoginHandler.registerCallback(this._loginFacebookSuccessCallback.bind(this), this.loginFacebookCancelCallback.bind(this), this.loginFacebookFailCallback.bind(this), this.loginFacebookDeclinedPermissions.bind(this));
    
        // Start the login process
        FacebookLoginHandler.logInWithReadPermissions(["public_profile", "email", "user_friends", "user_birthday"]);
    
    

    Keywords

    none

    Install

    npm i nativescript-stage-facebook-login

    DownloadsWeekly Downloads

    4

    Version

    1.0.7

    License

    none

    Last publish

    Collaborators

    • bnussey