May 24, 2011

Facebook’s Share Link Photo

If you’re a WordPress user like myself, sometimes you might run into trouble with the “share” button to Facebook. If you share URL’s on your Facebook wall often you’ve probably noticed it will pull any thumbnail photos off the page from the URL and give you an arrow selector to pick which image you would like to use. If you take the time to make some nice post thumbnails and would like to make sure that specific image is the one pictured when sharing you can use some nifty metatags in your <head> section found in your WordPress theme’s “header.php” file.

 &lt;meta content="" property="og:image" /&gt;

In this case, the content=”” attribute contains the URL of the image you would like to use. If you want more information you can check out Facebook’s developer documentation.


Leave A Comment

Leave a Reply