title: Fetching "property og" meta tags from URL with PHP
body: <p>I want to create a posting feature similar to the one Facebook uses (You paste a link into textbox, hit post and it posts a title, description and an image). I realized that it is best to extract the meta tags that have og properties such as "og:title" and "og:image" because if I use normal  tags, sometimes they have line breaks and such other things and it comes out with errors.</p>
  
  <p>Is there a way to fetch contents of these tags using PHP, but without AJAX or other custom parsers? The starting point would be:</p>
  
  <pre><code>&lt;?php
  
  $url = $_POST['link'];
  
  ?&gt;
  </code></pre>
  
  <p>We get the URL from the previous page through POST method, but how to do the rest?</p>