facebook share/like/comment -> define thumbnail image
Defining the thumbnail picture used by facebook on fb-commenting, liking or sharing web content:
Set some headertags:
If you use drupal, you can use this snippet:
$url = url($relative_img_path, array('absolute' => true));
drupal_set_html_head('<link rel="image_src" href="' . $url . '" />');
drupal_set_html_head('<meta property="og:image" content="' . $url . '" />');
drupal_set_html_head('<link rel="image_src" href="' . $url . '" />');
drupal_set_html_head('<meta property="og:image" content="' . $url . '" />');
To clear the facebook-cache on the url you are testing around, use this:
http://developers.facebook.com/tools/debug
Idea: http://www.theitechblog.com/1403/solution-to-facebook-like-button-thumbn...

Kommentar hinzufügen