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?
相关问题
- facebook error invalid key hash for some devices
- LoginActivty with Firebase & Facebook authenticati
- facebook “could not retrieve data from URL”
- setRequestHeader Content-Type causes POST request
- Sharing to Facebook Stories
相关文章
- Facebook login for group members
- The method FB.api will stop working when called fr
- React native deep linking vs Facebook SDK conflct
- UIActivity with no settings for Facebook
- facebook send API Error Code: 100 API Error Descri
- Can't use Facebook Account Kit: Error inflatin
- The difference between blank nodes and variables i
- How to mark the copyright of an image in html?
The accepted answer is now out of date. The new way to do it is with an open graph tag e.g.
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:
keep in mind that if everything doesn't work, than, may be, you should reload Facebook cache. http://developers.facebook.com/tools/lint/