bas-meteor-facebook-login

1.1.1 • Public • Published

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

Donate to this project using Paypal

This package use cordova-plugin-facebook4

Documentation of the Cordova plugin here

Install

meteor 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...');
    }
});

Backers

Maintainers

These amazing people are maintaining this project:

Sponsors

No sponsors yet! Will you be the first?

Donate to this project using Paypal

Contributors

These amazing people have contributed code to this project:

Contribute

If you wish you can contribute to the development of this project:

  • Contribute with your code

  • Donate

License

Contact

Package Sidebar

Install

npm i bas-meteor-facebook-login

Weekly Downloads

8

Version

1.1.1

License

MIT

Unpacked Size

20.7 kB

Total Files

19

Last publish

Collaborators

  • basgrani