title: Help needed with Facebook Like Button and AJAX loaded pages
body: <p>OK I'm loading each pages and posts (Wordpress) via ajax and it works great. I integrated the iframe Facebook Like Button in the page/post templates and it loads correctly when I load a page or a post.</p>
  
  <p>My only problem it that when I load a page or post and I click on the Like button it is the Open Graph Tags of the main page (header.php via index.php) that are shown on Facebook and not the tags of the page or post I just loaded.</p>
  
  <p><a href="http://themes.visualise.ca/visualise" rel="nofollow">http://themes.visualise.ca/visualise</a></p>
  
  <p>How can I adjust this? This is the php code for the post template that is being called via ajax:</p>
  
  <pre><code>&lt;?php
  /*
  Template Name: Ajax Post Using Slug
  */
  ?&gt;
  &lt;html lang="fr"&gt;
  &lt;head&gt;
  &lt;meta charset=utf-8&gt;
  &lt;meta property="og:title" content="Portfolio | par Gab Labelle, artisan numérique montréalais" /&gt;
  &lt;meta property="og:type" content="blog" /&gt;
  &lt;meta property="og:url" content="http://themes.visualise.ca/visualise/#portfolio" /&gt;
  &lt;meta property="og:image" content="&lt;?php bloginfo('stylesheet_directory'); ?&gt;/images/visualise.ca-logo2.png" /&gt;
  &lt;meta property="og:site_name" content="visualise.ca" /&gt;
  &lt;meta property="fb:admins" content="10150720967625327" /&gt;
  &lt;meta name="description" content="&amp;#171; J'aime croire que ma force réside en ma capacité à trouver l'histoire simple qu'inspirent marques, produits et services et à la présenter de manière intelligible, créative et engageante. &amp;#187;" /&gt;
  &lt;/head&gt;
  &lt;body&gt;
  ...
  &lt;?php the_content(); ?&gt;
  ...
  &lt;div id="fb-root"&gt;&lt;/div&gt;&lt;script src="http://connect.facebook.net/fr_FR/all.js#appId=153423521399187&amp;amp;xfbml=1"&gt;&lt;/script&gt;&lt;fb:like href="http://themes.visualise.ca/visualise/#portfolio" send="true" layout="button_count" width="450" show_faces="false" font=""&gt;&lt;/fb:like&gt;           
  &lt;/div&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>Many thanks for you time and help.</p>