javascript - cordova-plugin-facebook on phonegap doesn't open pop -


i using cordova-plugin-facebook4 plugin on phonegapp cordova project , although pop opens when test app on browser nothing when compile , run on mobile phone. missing ??

code being used:

loginwithfacebook = function() { fb.login(function(response) {   if (response.authresponse) {        fb.api('/me', function(response) {                 var result_holder = document.getelementbyid('result_friends');                 result_holder.innerhtml = response.name;          });         } else {             alert('user cancelled login or did not authorize.');         }     });     return false; };  

thanks in advance


Comments

Popular posts from this blog

sql - can we replace full join with union of left and right join? why not? -

javascript - Parallax scrolling and fixed footer code causing width issues -

iOS: Performance of reloading UIImage(name:...) -