title: can facebook not detect dynamic content in meta tag?
body: <p>this is my code for specifying content in meta tag. but for some reason facebook is not getting the content in these tags.</p>
  
  <pre><code>&lt;meta property="og:title" content="&lt;?php echo $fb_title;?&gt;" /&gt;
  &lt;meta property="og:type" content="website" /&gt;
  &lt;meta property="og:url" content="&lt;?=$fb_link;?&gt;" /&gt;
  &lt;meta property="og:image" content="&lt;?=$fb_image;?&gt;"/&gt;
  &lt;meta property="og:site_name" content="example"/&gt;
  &lt;meta property="fb:app_id" content="app_id"/&gt;
  &lt;meta property="og:description" content="&lt;?=$fb_desc;?&gt;"/&gt;
  &lt;meta itemprop="image" content="&lt;?php echo $fb_title;?&gt;"&gt;
  </code></pre>
  
  <p>this is the content shown in my page's source :-></p>
  
  <pre><code>&lt;!DOCTYPE HTML&gt;
  &lt;html prefix="og: http://ogp.me/ns#"&gt;
  &lt;head&gt;
  &lt;link rel="image_src" href="http://www.example.com/uploads/programsNew/Perte-de-poids-d'environ-10-kg-en-course-à-pied,-2-356.jpg##" /&gt;
  &lt;meta property="fb:app_id" content="app_id"/&gt;
  &lt;meta property="og:image" content="http://www.example.com/uploads/programsNew/Perte-de-poids-d'environ-10-kg-en-course-à-pied,-2-356.jpg##"/&gt;
  
  &lt;meta property="og:image:url" content="https://www.example.com/uploads/programsNew/Perte-de-poids-d'environ-10-kg-en-course-à-pied,-2-356.jpg"/&gt;
  &lt;meta property="og:image:secure_url" content="https://www.example.com/uploads/programsNew/Perte-de-poids-d'environ-10-kg-en-course-à-pied,-2-356.jpg" /&gt; 
  </code></pre>
  
  <p>The errors provided by facebook are:</p>
  
  <p>1.Object at URL '<a href="https://www" rel="nofollow noreferrer">https://www</a>.'sitename'.com/' of type 'website' is invalid because a required property 'og:image:url' of type 'url' was not provided.</p>
  
  <p>2.The following will be treated as a redirect by the crawler:</p>
  
  <ul>
  <li>A HTTP redirect</li>
  <li>A <code>&lt;link rel="canonical" href=".." /&gt;</code> tag</li>
  <li>A <code>&lt;meta property="og:url" content=".." /&gt;</code> tag</li>
  </ul>
  
  <p>In the page source there is no canonical tag, it is present in the main code but inside a condition for another page. so the 'canonical' tag is absent in this page. so why is there an error ,if anybody have any ideas please share.</p>