PhoneGap + Android + Facebook SDK = Not working

  • 1
  • Problem
  • Updated 9 years ago
PhoneGap with Facebook Javascript SDK....

Hey, basically I was just doing a test with PhoneGap and the Facebook JS SDK. Now the simple example I did was here: elliothesp.co.uk/phonegap

As you can see, you can connect with your Facebook account and it will just show your name and display picture. Works fine. So I decided to bundle it up into PhoneGap and download it for Android. It loads the webapp, loads the facebook button, but when you click on that button, nothing happens.

Any reason why this is?

EDIT: I'm using a index and htm file, no config files as I was just testing, could this be the problem?
Photo of Elliot Hesp

Elliot Hesp

  • 1 Post
  • 0 Reply Likes
  • sad

Posted 9 years ago

  • 1
Photo of Hardeep Shoker

Hardeep Shoker

  • 1941 Posts
  • 89 Reply Likes
Hey Elliot,

There is a Facebook plugin in the works at the moment; Currently the Facebook SDK is not compatible with PhoneGap this may be due to differences in how events are handled, for example iframes.

Hardeep Shoker
Photo of Simon Hill

Simon Hill

  • 3 Posts
  • 0 Reply Likes
Will this plugin also work with the new PhoneGap:Build?
Photo of Hardeep Shoker

Hardeep Shoker

  • 1941 Posts
  • 89 Reply Likes
Plugins for PhoneGap build are currently being worked on.

Hardeep Shoker