Skip to content
No description, website, or topics provided.
TypeScript Ruby
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
platforms
.gitignore
.npmignore
LICENSE
README.md
facebook-handler.android.ts
facebook-handler.ios.ts
package.json
tsconfig.json

README.md

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"]);

You can’t perform that action at this time.