2 Replies Latest reply on Jul 5, 2017 9:32 PM by saravanakumarv71432877

    Phonegap facebook login not working in android

    saravanakumarv71432877

      Hai friends,i am developing facebook login for my phonegap project.i used cordova cli to create project.

       

      for facebook login i am using openfb.js plugin.

       

      this plugin works fine in only all browsers.after i export to mobile app using phonegap build this plugin not working.

       

      i tested with ripple emulator also.

       

      if i can login in mobile i cant able to retrieve the logged in user info.

       

      but i done both case in browser.

       

      my need is i get back user details like name,email id who login through facebook.

       

       

      please can anyone help me to solve my issue. i also attached screeshots for my issue

      1) this output from browser.i can get the user name after login.no issue

      capture_720.png.

      2)this one from my android phone.login successfully done.when i click the getinfo button i got errors.

      screenshot_2017-06-30-17-05-32_720.png

      3)OpenFB.js code.

       

      openFB_code.png

       

       

      thank you