Sugestion for FB meta tags using jquery and php
<p>here is my problem:</p>

<p>i have FB app, where i am getting data from json and using that data for making list of items in my main window, i can click on every item, and after i click it opens in new ajax window where i get more info about that item</p>

<p>problem is about meta tags for FB, cos i have LIKE button for every item, so when i click on it, i can post that item on FB wall with infomations like title, picture and description</p>

<p>i have this situation:
when i click on item in my main window, it opens in new ajax window, and i manually add item it to the URL like this:</p>

<pre><code>window.location.href=window.location.href + "?id=" + ID + "#id=" + ID;
</code></pre>

<p>and php code is this:</p>

<pre><code>    &lt;?php

    if(isset($_GET['id'])){

    $json = file_get_contents("http:....." . $_GET['id'] . "&amp;...");
    $json_array = json_decode($json);
    print '&lt;meta property="og:title"       content="' . $json_array-&gt;title . '" /&gt; ';
    }
?&gt;
</code></pre>

<p>it all work all right, but i get problem with refreshing page, cos every time i click on item in my main window it open new window cos i add GET parameter in url</p>

<p>so how can i avoid refreshing page and still have functionality for describe like option on FB wall</p>
