title: Parse JSON API Call with HTTParty in Ruby
body: <p>I am trying to get the share count from this Linkedin API call using HTTParty in Rails, but it doesn't seems to properly be parsing and obtaining data. Why is that?</p>
  
  <pre><code>count = JSON.parse(HTTParty.get('https://www.linkedin.com/countserv/count/share?url=' + url + '&amp;format=json')["count"]
  </code></pre>