Possible Duplicate:
How does Facebook Sharer select Images?
I've got an app recently put online. On my Facebook wall, when I type in the URL to my app. Facebook displays available thumbnails. At the moment it's displaying GoDaddy's thumbnails. I'm guessing its because Facebook is caching the images.
So I read somewhere about putting image_src
on the <head>
element. In Rails 3.1 should it be:
<link rel="image_src" href="http://www.site_name.com/assets/logo.png" />
Or:
<link rel="image_src" href="/assets/logo.png" />
And is using <link rel="image_src"
the right meta tag to show the right thumbnail on Facebook? If so, do I have to wait a few hours until the thumbnail displays on Facebook?
EDIT
I have:
<meta property="og:title" content="<%= yield(:title).present? ? yield(:title) : 'Foobar' %>" />
<meta property="og:type" content="website" />
<meta property="og:url" content="<%= request.url %>" />
<meta property="og:image" content="http://www.foobar.com/assets/logo.png" />
<meta property="og:site_name" content="Foobar" />
The Facebook debug page shows an actual image for og:image
. But when I type the site's url on a wall, the thumbnail still doesn't appear