# nativescript-stage-facebook-login

> Nativescript Facebook Login plugin

Latest version **1.0.7** (published 2017-10-13) · 0 weekly downloads

## Install

```sh
npm install nativescript-stage-facebook-login
pnpm add nativescript-stage-facebook-login
yarn add nativescript-stage-facebook-login
bun add nativescript-stage-facebook-login
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.7 |
| Published | 2017-10-13 |
| First published | 2017-05-23 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Maintainers | bnussey |

## Links

- npm: https://www.npmjs.com/package/nativescript-stage-facebook-login
- Repository: https://github.com/stage/nativescript-stage-facebook-login
- Homepage: https://github.com/stage/nativescript-stage-facebook-login#readme
- Issues: https://github.com/stage/nativescript-stage-facebook-login/issues
- npm.io page: https://npm.io/package/nativescript-stage-facebook-login

## Recent versions

- 1.0.7 (latest) — 2017-10-13
- 1.0.6 — 2017-10-13
- 1.0.5 — 2017-06-13
- 1.0.4 — 2017-06-13
- 1.0.3 — 2017-06-13
- 1.0.2 — 2017-06-13
- 1.0.1 — 2017-05-23
- 1.0.0 — 2017-05-23

## README

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

```

---
_Source: https://npm.io/package/nativescript-stage-facebook-login · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
