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

How to get the arclen between two curve points in Maya? -

C++ Linked List -

git svn - Unignore directories in git-svn (adding directories to a sparse checkout) -