I've been banging my head on this one for a while now.
How do I specify the app_id and app_name when trying to use the facebookConnect plugin in a Multi-Device Hybrid app in Visual Studio 2013?
If I create a new solution using the CLI approach; something similar to:
cordova create MyTest <blah> <blah> <blah>
I can probably use the CLI to add the plugin with a command similar to: (Untested and the command might be slightly wrong)
cordova plugin add com.phonegap.plugins.facebookconnect
BUT...
How do I add it when I've created a Mutli-Device Hybrid app directly from within Visual Studio?
I've tried 2 approaches to get this to install:
Method 1:
- Create a "plugin" directory
- Download the code from https://github.com/Wizcorp/phonegap-facebook-plugin and extract into the plugin directory
- Compile/build
This seems to "work" but then bombs out with:
Variable(s) missing: APP_ID, APP_NAME
Method 2:
- Open the config.xml file
- Add in the following "vs:feature" tag:
- Compile/build
<vs:features> <vs:feature>com.phonegap.plugins.facebookconnect</vs:feature>
Calling plugman.fetch on plugin "com.phonegap.plugins.facebookconnect"
But then it too bombs out with the ever annoying:
Variable(s) missing: APP_ID, APP_NAME
Can someone PLEASE tell me where to add these two variables in so that the thing builds???
I have the values available.
I can't seem to use the CLI to install this plugin into my solution because I get an error like:
Current working directory is not a Cordova-based project
Thanks for any help you can offer.