Comments on: Better Facebook statuses with links https://archive.tiffanyb.net/2012/01/18/better-facebook-statuses-with-links/ Musings on cooking, travel, social media, higher ed & web technology by Tiffany Broadbent Beker Tue, 28 Jun 2016 20:58:16 +0000 hourly 1 https://wordpress.org/?v=4.9.7 By: tbroadbent https://archive.tiffanyb.net/2012/01/18/better-facebook-statuses-with-links/#comment-70 Mon, 23 Jan 2012 14:28:17 +0000 http://techblog.tiffanybroadbent.com/?p=185#comment-70 Yup! good point, that definitely works too for Facebook links.
I found that the hidden image approach also works for Google+ link thumbnails…once again, lots of different means to achieve the same end 🙂

]]>
By: Dave Olsen https://archive.tiffanyb.net/2012/01/18/better-facebook-statuses-with-links/#comment-69 Fri, 20 Jan 2012 20:38:51 +0000 http://techblog.tiffanybroadbent.com/?p=185#comment-69 For our old news website (looks like this code was ripped out of our new news site) we used Facebook’s Open Graph meta tags to control which images were available. So to include an image we used:

<meta property="og:image" content="http://wvutoday.wvu.edu/theme/images/facebook_share.png"/>

That way we had a default image for articles without images. If an article had images you can just write that meta tag multiple times. For example, let’s say the article had one image this would be the code:

<meta property="og:image" content="http://wvutoday.wvu.edu/theme/images/facebook_share.png"/>
<meta property="og:image" content="http://wvutoday.wvu.edu/article/images/article_image.png"/>

Hopefully that looks ok 🙂

]]>