title: How can I load the LinkedIn Javascript API library with a script loader?
body: <p>The LinkedIn Api suggests you load their javascript library like this:</p>
  
  <pre><code>&lt;script type="text/javascript" src="http://platform.linkedin.com/in.js"&gt;
    api_key: your_api_key_goes_here
  &lt;/script&gt;
  </code></pre>
  
  <p>I want to know how I can load this using a script loader (eg. RequireJS or LABJS). It seems the library extracts the api key from within the script tags. This seems like a pretty weird way of doing it in my opinion!</p>
  
  <p>I would prefer to load the library using a script loader, but can't seem to find out how to insert the api_key without using the suggested method. </p>
  
  <p><a href="http://developer.linkedin.com/documents/getting-started-javascript-api">The official instructions are here</a></p>
  
  <p>Anyone have any ideas?</p>