I'm having this problem, with the Facebook's like & share api.
I put the code that facebook provides, just changing the "data-href" with a specific url that references a page via "php get method" in this way:
echo ' <li> <div class="fb-like" data-href="http://www.alanmarth.com/index.php?seccion=blog&id='.$entrow["identrada"].'" data-layout="button" data-action="like" data-show-faces="false" data-share="true"></div> </li>';
But for some strange reason, when I click on the "share" button, the title of the like shown in facebook is different than the original one, or just works in some posts.
For example:
Original title: "Alan Marth :: Algoritmo de camino más corto"
Title when shared: "Alan Marth :: Blog"
Doesn't show post images in preview
But, in other's hand:
Original title: "Alan Marth :: ¡Nuevo sistema de noticias!"
Title when shared: "Alan Marth :: ¡Nuevo sistema de noticias!"
It shows images in post like preview
¿Any ideas? Thanks!