English 中文(简体)
How to tag a photo to be used as a thumbnail when a page is linked to on Facebook
原标题:

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?

最佳回答

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" />
问题回答

The accepted answer is now out of date. The new way to do it is with an open graph tag e.g.

<meta property="og:image" content="http://example.com/picture.jpg" />

keep in mind that if everything doesn t work, than, may be, you should reload Facebook cache. http://developers.facebook.com/tools/lint/





相关问题
Application of Artificial Intelligence in Semantic Web

I need to write an essay or a research for the subject Artificial Intelligence. There are many possible topics I can choose from plus we are also allowed to write about any other topic of interest. ...

Defining cardinality for a RDF statement

Im having a problem with RDF. I have a couple of triples defined as : <User rdf:about="#T"> <hasName rdf:datatype="http://www.w3.org/2001/XMLSchema#string">T</hasName> <...

Google Semantic results question

http://www.google.co.uk/search?q=mark+zuckerberg+crunchbase Guys, check out that search, in particular the first result s url. Crunchbase.com > People, and thus the people links to the /people ...

What is the difference between RDF and OWL? [closed]

I am trying to grasp the concept of Semantic Web. I am finding it hard to understand what exactly is the difference between RDF and OWL. Is OWL an extension of RDF or these two are totally different ...

热门标签