homepage Welcome to WebmasterWorld Guest from 107.22.45.61
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Subscribe to WebmasterWorld

Visit PubCon.com
Home / Forums Index / Search Engines / Sitemaps, Meta Data, and robots.txt
Forum Library, Charter, Moderators: goodroi

Sitemaps, Meta Data, and robots.txt Forum

    
Specify Facebook thumbnail
cyberdyne




msg:4027618
 10:08 pm on Nov 18, 2009 (gmt 0)

How, using robots.txt, can I specify which image Facebook uses as the thumbnail when the link to a specific site is posted either on someone's Facebook wall or via email?

Currently, for a particular site, there are 8 images available to choose from but none are representative of the sites' content are give a clear image of what's available on the site. So, I've created a thumbnail size screenshot of the site and would like to point the facebook bot (facebookexternalhit/1.0) to that specific image.

Is this possible?

Many thanks

 

cyberdyne




msg:4027899
 10:25 am on Nov 19, 2009 (gmt 0)

I am also happy to use .htaccess if that would be easier to achieve what I want.
Is there anyone who could help with this please?
Many thanks

cyberdyne




msg:4027906
 11:01 am on Nov 19, 2009 (gmt 0)

I found the answer and thought I'd share it:

Add the following lines to your sites index file in the <head> tags:

<meta name="medium" content="medium_type" />
<link rel="image_src" href="/path_to/your_chosen_image.jpg" />

Note this won't necessarily change the images displayed on existing wall posts and FB emails as the FB bot may not have visited your page, and thus updated the cached image, since you made the changes. However, it should ensure your_chosen_image is used in future posts.

It works for me.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Search Engines / Sitemaps, Meta Data, and robots.txt
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About
© Webmaster World 1996-2014 all rights reserved