title: How can I retrieve og/meta attributes of a resource?
body: <p>I'm making an application that retrieve tweets on Twitter of a user. </p>
  
  <p>Those feeds contains links to external resources, such as Artciles, Webpage or YouTube video. </p>
  
  <p>I get trought the Twitter API the JSON of these feeds, but there arent included the <code>og:</code> attributes of the content. And I'd like to catch them and show to my website.</p>
  
  <p>Such as <a href="https://stackoverflow.com/questions/19001883/how-can-i-check-classes-that-ends-with">this</a> question of StackOverflow:</p>
  
  <pre><code>&lt;meta name="og:type" content="website" /&gt;
  &lt;meta name="og:image" content="http://cdn.sstatic.net/stackoverflow/img/apple-touch-icon@2.png?v=fde65a5a78c6"/&gt;
  &lt;meta name="og:title" content="How can I check classes that ends with?" /&gt;
  &lt;meta name="og:description" content="I have some elements such as:
      &amp;amp;lt;div class=&amp;quot;button 17-facebook-dashboard-check&amp;quot;&amp;amp;gt;Elem1&amp;amp;lt;div&amp;amp;gt;
      &amp;amp;lt;div class=&amp;quot;button 18-google-dashboard-check&amp;quot;&amp;amp;gt;Elem2&amp;amp;lt;div&amp;amp;gt;
      &amp;amp;lt;div class=&amp;quot;button " /&gt;
  &lt;meta name="og:url" content="https://stackoverflow.com/questions/19001883/how-can-i-check-classes-that-ends-with"/&gt;
  </code></pre>
  
  <p>I'd like to catch those informations for each shared resource on each tweet. 
  So I think I'll, for each tweet (which for me is a box) do an ajax request client side, download the html and parse it, retrieving <code>og:title</code>, <code>og:description</code>, <code>og:type</code> and <code>og:image</code>.</p>
  
  <p>Is this the best approch? What's about parse this data in Javascript/Jquery?</p>