title: How to get LinkedIn followers count?
body: <p>I tried to get the LinkedIn followers count using JavaScript:</p>
  
  <pre><code>&lt;div id="statusDiv"&gt;Result&lt;/div&gt;&lt;script type="text/javascript"  src="http://platform.linkedin.com/in.js"&gt;
                  api_key: XXXXX
  onLoad: onLinkedInLoad
  authorize: true
  &lt;/script&gt;
  &lt;script type="text/javascript"&gt;
  function onLinkedInLoad() {
    IN.API.Raw("/companies/&lt;&lt;company_id&gt;&gt;:(num-followers)")
  .result( function(result) { document.getElementById("statusDiv").innerHTML =  result.numFollowers; } )
  .error( function(error) {  document.getElementById("statusDiv").innerHTML = error } );
   }
   &lt;/script&gt;
  </code></pre>
  
  <p>but this does not work for me.</p>