Welcome to WebmasterWorld Guest from 54.145.144.101

Forum Moderators: incrediBILL

Message Too Old, No Replies

Where does facebook pull the link preview image from?

The image that appears in a facebook post when you link to your site

   
10:25 pm on Oct 16, 2010 (gmt 0)



When you type a URL into facebook, it automatically comes up with the "post a link" feature. With most websites, it automatically loads a selection of images it pulls from somewhere in the page to go alongside the link and description. With my site, I just get a text link and no image--where is facebook pulling the preview images from and how can I enable one for my site? Is it similar to the
<LINK REL="SHORTCUT ICON" HREF="/favicon.ico">
?
10:50 pm on Oct 16, 2010 (gmt 0)

WebmasterWorld Senior Member tedster is a WebmasterWorld Top Contributor of All Time 10+ Year Member



Here's what I'd try first:

In order to make sure that the preview is always correctly populated, you should add the tags shown below to the <head> element in your HTML code. If you don't tag your page, Facebook Share will grab the title of your page as specified in the <title> tag, and will create a summary description from the first text that appears in the body of your page. A list of thumbnails will all be selected from available images on your page.

You can control the exact title, description, and thumbnail that Facebook Share uses by adding the following meta tags to the <head> element in your page:
<meta property="og:title" content="title" />
<meta property="og:description" content="description" />
<meta property="og:image" content="thumbnail_image" />

[developers.facebook.com...]
 

Featured Threads

Hot Threads This Week

Hot Threads This Month