Giter VIP home page Giter VIP logo

meteor-accounts-facebook-cordova's Introduction

Accounts Facebook Cordova

Introduction

This packages replaces the accounts-facebook package. It works with phonegap-facebook-plugin when using cordova and falls back to the facebook package when in a browser.

Note: Currently only tested with iOS. Will test the other platforms asap.

Current status: Login works great! Working on abstracting the graph api calls so they work from both native sdk or http request .. although it may be better to just stick with http.

================

Installation / Setup

Requirements

================

Package Installation
mrt add accounts-facebook-cordova

Note: For testing you can also add accounts-ui package.

================

Meteor settings file (settings.json)
{
  "facebook": {
    "appId": "[app_id]",
    "secret": "[app_secret]"
  },
  "public": {
    "facebook": {
      "permissions": [
        "basic_info", 
        "user_interests", 
        "user_activities", 
        "read_friendlists"
      ]   
      "profileFields": [
        "name",
        "gender",
        "location"
      ]   
    }
  }
}

================

Cordova Setup Guide

Refer to the phonegap-facebook-plugin readme

Final Notes

Running your app with settings
mrt --settings settings.json

================

If you want more features than this provides, file an issue. Feature requests/contributions are welcome.

meteor-accounts-facebook-cordova's People

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.