In fact, in the CLI, you just need to add the variables APP_ID and APP_NAME to your team. Something like that:
C:\myProject>cordova plugin add https:
I installed it this way, but not sure if the application works or not. Something to experience.
update:
I had a problem with the phonegap build giving me the error One of your plugins requires a parameter: APP_ID, APP_NAME . This happened because I did not add these variables to the config.xml file.
It allowed
<gap:plugin name="com.phonegap.plugins.facebookconnect"> <param name="APP_ID" value="your_facebook_app_id" /> <param name="APP_NAME" value="your_facebook_app_name" /> </gap:plugin>`
Everything works perfectly! Hope this helps someone.
update 2:
Remember to change the plugin.xml file as root / plugins / com.phonegap.plugins.facebookconnect / plugin.xml
<preference name="APP_ID" /> <preference name="APP_NAME" />
Kal
source share