Skip to content

angular2-facebook-connect: a really simple Angular2 module which handles the login with facebook

Notifications You must be signed in to change notification settings

nicolas2bert/angular2-facebook-connect

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

angular2-facebook-connect

angular2-facebook-connect: a really simple Angular2 module which handles the login with facebook

Exemple here: http://www.nicolas2bert.com/chat

Instalation

  1. Build and run a super-simple Angular 2 application in TypeScript. https://angular.io/docs/ts/latest/quickstart.html

  2. Download the angular2-facebook-connect package: download using the zip file

  • Add app.component.html, app.component.ts and facebook.service.ts in your app

  • Replace your-app-id with your facebook app id inside /facebook.service.ts

  FB.init({
    appId: "your-app-id",
    xfbml: true,
    version: 'v2.5'
  });

  1. Enjoy your login Facebook

About

angular2-facebook-connect: a really simple Angular2 module which handles the login with facebook

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published