Socket
Socket
Sign inDemoInstall

fb-autologin-vue

Package Overview
Dependencies
0
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    fb-autologin-vue

A Facebook login component for Vue 2


Version published
Weekly downloads
7
increased by250%
Maintainers
1
Install size
4.38 kB
Created
Weekly downloads
 

Readme

Source

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:

npm install fb-autologin-vue

Register it in your app:

import Vue from 'vue'
import FBAutologin from 'fb-autologin-vue';

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

In your HTML call it like

<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

Keywords

FAQs

Last updated on 17 May 2017

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc