I\'m using phonegap plugin to connect to facebook this one : https://github.com/phonegap-build/FacebookConnect
I\'m confused about Facebook app settings, when I call FB.
Write this code in onDeviceReady after creating your application id on facebook
FB.init({
appId: "<your appId>",
nativeInterface: CDV.FB
});
on facebook eit your app settings set your "Website with Facebook Login" to
http://localhost/
There are several settings which you need to set.
These settings worked for me for a Phonegap Build environment.
Under Native Android App:
Other steps:
http://localhost/
anymore. If you have a real website (with facebook login), then that's the place to put the real website URL.