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.

$image_id = get_post_thumbnail_id($thePostID);
$image_url = wp_get_attachment_image_src($image_id);

echo $the_output;
add_action('wp_head', 'facebook_social_meta_init');

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 )

Connecting to %s