title: LinkedIn API on localhost gives API key invalid
body: <p>I'm working with the LinkedIn API on my localhost, using port 80. I get "API Key is invalid". </p>
  
  <p>How do I get my API key to be valid?  </p>
  
  <p>I call the LinkedIn API from locally served pages with these URLS. I've added both URLs to "Javascript API domains" on the <a href="https://www.linkedin.com/secure/developer" rel="nofollow">LinkedIn API admin page</a>.</p>
  
  <pre><code>http://myjobsite/index.php/test
  http://myjobsite/index.php/my-second-test
  </code></pre>