bas-meteor-facebook-login

Use native api to login with Facebook

MIT License

Downloads
13
Stars
2
Committers
1

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

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?

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 Rankings
Top 24.02% on Npmjs.org
Badges
Extracted from project README
Donate to this project using Paypal Donate to this project using Paypal
Related Projects