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
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!