Software Archive
Read-only legacy content
17061 Discussions

Facebook Connect Plugin not installing in XDK 2366 ?

Theo_v_
Beginner
541 Views

Hi there,

I tried to install the facebook connect plugin through the XDK GUI (checking checkbox "Facebook Connect*" in featured & custom cordova plugins)
But afterward i see no changes to either the xml files or plugin folder. 
When I build my application global variables CDV and FB are undefined.

Am I missing something?

Best regards,

Theo

 

 

0 Kudos
3 Replies
John_H_Intel2
Employee
541 Views

Are you uploading your files after you select the FB plugin?

0 Kudos
Theo_v_
Beginner
541 Views

Hi John,

I got confused by the two plugins one for phonegap-build and the one for cordova,
both stating to be the "official plugin for Facebook in Apache Cordova/PhoneGap"

Please see:
https://github.com/phonegap-build/FacebookConnect/blob/962eb0a1c07935ff813e28aa9eaa5581f2e10416/README.md
https://github.com/Wizcorp/phonegap-facebook-plugin

Seems to be different plugins while phonegap-build plugin uses the default FB class.
Can the phonegap-build Facebook Connect plugin be used for XDK as well? 
Otherwise I have to replace FB in my code by facebookConnectPlugin which doesn't use exact same functions as the default FB class.

Any suggestions?

 

 

 

0 Kudos
PaulF_IntelCorp
Employee
541 Views

If you go to the repos you can see that the first one was "forked" from the second one, so the first is actually the "official" plugin. I say "official" in quotes because the plugin was not developed by nor is it maintained by Facebook, but this Wizcorpo plugin appears to be the plugin of choice for Facebook.

You should be able to use either one. If you have upgraded the XDK to 2946 you should see the Wizcorp copy available in the featured plugin list.

0 Kudos
Reply