Cordova facebook plugin help

Having issues getting data from facebook profile using the cordova facebook plugin. Has anyone have experience working with this plugin? How were your api calls made

Hi @erickwong618

Can you follow code example below:

$ionicPlatform.ready(function() {
     $cordovaOauth.facebook(FBAPP_ID, ["public_profile", "email", "user_friends"]).then(function(response) {
          if (response.access_token) {
               // Call api of you at here
          }else{

          }
     , function(error) {
          // Handle error at here
     });
});

hope it can help you!

Try this: https://github.com/srameshr/ionic-starter-oauth