These are the sample codes demonstrating how to implement Facebook Login in an Ionic Framework App with the official Apache Phonegap Facebook Connect Plugin, AngularJS UI Router, and Parse as the backend.
To make this work, you will need to replace the followings to your own values:
- FACEBOOK_APP_ID
- Dummy value "12345678901234567890" was used in some cases
- PARSE_APP_ID
- PARSE_JAVASCRIPT_KEY
Full explanation is available here: http://jianjye.com/how-to-set-up-apache-cordova-facebook-plugin-and-parse-in-ionic-framework-v2/
I highly recommend following the article step-by-step and build your app from scratch instead.
V1 has been completely overwritten, but is available as at commit #26e1d797a5c86d435e04e9554a079f5134795505 shall you desire to refer back.