Facebook Social Graph WordPress Integration

I love WordPress and have written about them creating WordPress plugins and given away some free ones.

Today I created a plugin that allows you easily integrate WordPress and the Facebook’s open social graph.

ID;
$the_output='';
if(has_post_thumbnail($thePostID))
{
$image_id = get_post_thumbnail_id($thePostID);
$image_url = wp_get_attachment_image_src($image_id);
$the_output.'';
}

$the_output.='';
$the_output.='';
$the_output.='';
$the_output.='';
$the_output.='';
$the_output.='';
echo $the_output;
}
add_action('wp_head', 'facebook_social_meta_init');
}
Advertisements

One comment


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s