android - Phonegap- Facebook connect. Api calls doesn't fire any callback -
i'm using phonegap build. first of all, need error doesn't happen if try administrator account of app. happen if normal user tries login in app.
this code far.
var facebookpermissions = ['public_profile', 'email', 'user_about_me', 'user_website']; $(document).on('click', '#btnfacebook', function() { //click facebookconnectplugin.login(facebookpermissions, onfacebookloginsuccess, onfacebookloginerror) }); function onfacebookloginsuccess(userdata) { alert("userdata: " + json.stringify(userdata)); facebookconnectplugin.api('me', facebookpermissions, function(result) { alert("result: " + json.stringify(result)); }); };
i'm app's administrator , every work expected... no trouble @ all. if user tries login, login works well, there no response api request. first alert displayed
i tried parameters facebookconnectplugin.api("/?fields=id,email",facebookpermissions, facebookconnectplugin.api("",facebookpermissions, nothing changes
i'm kinda lost here, , dont know else try.
- your app may in sandbox mode, activate in "settings & review" section
user_website
needs reviewed. without login review, work users role in app.
Comments
Post a Comment