title: Facebook scraper not validating og:image url
body: <p>I am running some functions on my controller to come up with a custom meta tag url that is then taken and used on the opengraph image tag for facebook. This image gets put in a variable, that then gets displayed on a url used for scraping on facebook. I got it working the right way and now the linter comes back at me with this error.</p>
  
  <p>Object at URL 'http://mypage.org/pages/post.html?PostID=9192&amp;prog=' of type 'website' is invalid because the given value '' for property 'og:image:url' could not be parsed as type 'url'.</p>
  
  <p>How is that not a valid url? I can take the link and put it in my browser and it comes up just fine. I notice as well when I go down to see the scraped url it gives me back this..</p>
  
  <pre><code>&lt;meta property="og:image" content="&amp;lt;img src='http://www.mypage.org/images/post_images/4121.jpg' /&amp;gt;"&gt;
  </code></pre>
  
  <p>Looks like it takes my &lt; and />, makes them into hex..why would the scraper do this? Btw here is the code from my controller.</p>
  
  <pre><code>$img = strstr($img, '&lt;img src=');
  $substring = substr($img, 0, strpos($img, "/&gt;"));
  $img = $substring . "/&gt;";
  </code></pre>
  
  <p>What this code does is I take the code before the  to the end of the url making a full <code>&lt;img src = "" /&gt;</code> url. Any and all help is very much appreciated.</p>