When a person posts a link on facebook, facebook automatically finds a photo to be used as a thumbnail that shows up in the news feed. Is there some sort of (html) markup to surround a photo you'd like to use as the first choice?
views:
2805answers:
1
+8
A:
What you want are the <meta>
tags that Facebook defines in their documentation on Facebook_Share/Specifying_Meta_Tags.
You don't put the metadata around the image itself, rather, you put it in the head of the document, like this:
<meta name="title" content="The Title Of The Link" />
<meta name="description" content="A description of the link would go here." />
<link rel="image_src" href="http://www.example.com/images/image.jpg" />
artlung
2009-12-01 01:34:38
thanks for the good answer.
2009-12-01 05:33:10