GithubHelp home page GithubHelp logo

jarvizx / sociogram-angular-ionic Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ccoenraets/sociogram-angular-ionic

1.0 2.0 0.0 1.17 MB

A sample application demonstrating how to integrate with Facebook in your Angular/Ionic apps

sociogram-angular-ionic's Introduction

Sociogram for AngularJS / Ionic

A sample application that demonstrates a lightweight approach to integrate with Facebook in your AngularJS / Ionic apps.

Getting Started

  1. Create an Ionic project

  2. Add the inappbrowser plugin to your project

    cordova plugins add org.apache.cordova.inappbrowser

  3. Replace the www folder of the Ionic project with the www folder in this repository

  4. Create a Facebook app here: https://developers.facebook.com/apps. In the advanced settings, make sure you declare a “Valid OAuth redirect URI”. For example, if during development you access your application from http://localhost/openfb/index.html, you must declare http://localhost/openfb/oauthcallback.html as a valid redirect URI. Also add https://www.facebook.com/connect/login_success.html as a Valid OAuth redirect URI for access from Cordova.

  5. Copy the Facebook App Id and paste it as the first argument of the OpenFB.init() method invocation in the run() function in app.js.

  6. To run the app in the browser: Load index.html, from a location that matches the redirect URI you defined above. For example: http://localhost/openfb/index.html

  7. To run the app in Cordova: Build the Ionic project and run it as a Cordova app on your device

sociogram-angular-ionic's People

Contributors

ccoenraets avatar

Stargazers

 avatar

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.