title: Installing Facebook Connect for PhoneGap Build - is this right?
body: <p>Is my method correct? I'm getting these errors:</p>
  
  <pre><code>Cordova variable does not exist. Check that you have included cordova.js correctly
  
  CDV variable does not exist. Check that you have included cdv-plugin-fb-connect.js correctly
  
  FB variable does not exist. Check that you have included the Facebook JS SDK file.
  </code></pre>
  
  <ol>
  <li><p>I have my Facebook app set up. I've been signing into it using Connect for a couple of years now via the php sdk. For Phonegap Build (not manual), am I also supposed to download a javascript sdk from Facebook, or do I just follow the steps below?</p></li>
  <li><p>added this to my <strong>config.xml</strong>  :</p>
  
  <pre><code>  &lt;gap:plugin name="com.phonegap.plugins.facebookconnect"&gt;
    &lt;param name="APP_ID" value="blah_app_id" /&gt;
    &lt;param name="APP_NAME" value="blah_app_name" /&gt;
    &lt;/gap:plugin&gt;
  </code></pre></li>
  <li><p>Went to <a href="https://github.com/phonegap-build/FacebookConnect/" rel="nofollow">https://github.com/phonegap-build/FacebookConnect/</a> </p></li>
  </ol>
  
  <p>and downloaded</p>
  
  <pre><code>cdv-plugin-fb-connect.js
  facebook-js-sdk.js
  </code></pre>
  
  <p>and placed them in the root of my project - same place as my index.html</p>
  
  <ol>
  <li><p>Copied the code from between the body tags at index.html from the example at <a href="https://github.com/phonegap-build/FacebookConnect/tree/master/example/Simple" rel="nofollow">https://github.com/phonegap-build/FacebookConnect/tree/master/example/Simple</a>, and placed it into my Phonegap Build's index.html, in order to test.</p></li>
  <li><p>zip and upload to PGB as normal</p></li>
  </ol>
  
  <p>What step/s am I missing or screwing up?</p>
  
  <p>Thanks for taking a look.</p>