# fb-autologin-vue

> A Facebook login component for Vue 2

Latest version **0.0.5** (published 2017-05-17) · MIT license · 0 weekly downloads

## Install

```sh
npm install fb-autologin-vue
pnpm add fb-autologin-vue
yarn add fb-autologin-vue
bun add fb-autologin-vue
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.5 |
| Published | 2017-05-17 |
| First published | 2017-05-15 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Jose Javier Espinoza |
| Maintainers | jecovier |
| Keywords | vue, vuejs, vue2, Facebook, login, fb, Bootstrap, Bootstrap vue, component, Facebook login vue, fb login vue |

## Links

- npm: https://www.npmjs.com/package/fb-autologin-vue
- Repository: https://github.com/jecovier/fb-autologin-vue
- Homepage: https://github.com/jecovier/fb-autologin-vue#readme
- Issues: https://github.com/jecovier/fb-autologin-vue/issues
- npm.io page: https://npm.io/package/fb-autologin-vue

## Alternatives

- [@sveltejs/kit](https://npm.io/package/@sveltejs/kit.md) — 2.2M weekly downloads
- [@tangle-network/brand](https://npm.io/package/@tangle-network/brand.md) — 10.0K weekly downloads
- [seneca](https://npm.io/package/seneca.md) — 7.4K weekly downloads
- [@bsb/base](https://npm.io/package/@bsb/base.md) — 7.2K weekly downloads
- [@modern-js/plugin-swc](https://npm.io/package/@modern-js/plugin-swc.md) — 3.4K weekly downloads

## Recent versions

- 0.0.5 (latest) — 2017-05-17
- 0.0.3 — 2017-05-15
- 0.0.2 — 2017-05-15
- 0.0.1 — 2017-05-15

## README

# FB Auto Login for VUE 2
this component initialize the Facebook SDK and show the login pop up to the user.
It has a event when the user is login and three slots to show a different message
depending on the connection status.

## ✔ Getting started

Get the package:
```bash
npm install fb-autologin-vue
```

Register it in your app:
```js
import Vue from 'vue'
import FBAutologin from 'fb-autologin-vue';

Vue.component('fb-login', FBAutologin);
```

In your HTML call it like

```html
<fb-login
	@login = "login_callback">
	<template slot="check-login">
		connecting...
	</template>
	<template slot="cancelled">
		user cancelled the login
	</template>
	<template slot="logged">
		Welcome!
	</template>
</fb-login>
```


## License
MIT



#### Status
This project is in an early stage of development. Any contribution is welcome :D

---
_Source: https://npm.io/package/fb-autologin-vue · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
