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

php - How to add and update images or image url in Volusion using Volusion API -

javascript - jQuery UI Splitter/Resizable for unlimited amount of columns -

javascript - IE9 error '$'is not defined -