function add_facebook_open_graph_tags() {
if (is_single()) {
global $post;
$image = get_post_meta($post->ID, 'thesis_post_image', $single = true);
if (!$image)
$image = ' ';
?>
}
add_action('wp_head', 'add_facebook_open_graph_tags',99);