Socket
Socket
Sign inDemoInstall

pau-meteor-facebook-login

Package Overview
Dependencies
5
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

pau-meteor-facebook-login


Version published
Weekly downloads
1
Maintainers
1
Install size
7.92 MB
Created
Weekly downloads
 

Readme

Source

Native Facebook SDK login for Meteor (v1.4+)

This package use cordova-plugin-facebook4

Documentation of the Cordova plugin here

Install

npm install bas-meteor-facebook-login

Setup

  • Requirements:
meteor add http
meteor add accounts-facebook
meteor add cordova:cordova-plugin-facebook4@https://github.com/Basgrani-Org/cordova-plugin-facebook4.git#ee8aab56ee6c1f822dcab9ede1db1944100935b4
  • Setup cordova plugin (mobile-config.js):
App.configurePlugin('cordova-plugin-facebook4', {
    APP_NAME: 'Name',
    APP_ID: '000000000000'
});

Use

(Server)

import 'bas-meteor-facebook-login';

(Client)

import { FB_API } from 'bas-meteor-facebook-login';

// Login with Facebook
FB_API.login(function(err) {
    if (err) {
        console.log(err);
    } else {
        console.log('login...');
    }
});

Keywords

FAQs

Last updated on 06 Mar 2017

Did you know?

Socket

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc