Skip to content

Instantly share code, notes, and snippets.

Created January 9, 2018 16:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/bef5f83a8a64c44fd4de51d2ccbbfdc7 to your computer and use it in GitHub Desktop.
Save anonymous/bef5f83a8a64c44fd4de51d2ccbbfdc7 to your computer and use it in GitHub Desktop.
Facebook Like Button Thumbnail Image
********************
Facebook Like Button Thumbnail Image ->->->->
********************
http://shurll.com/bzfa2
(Copy & Paste link)
********************
facebook sharethis shareimprove this question edited Feb 27 '10 at 13:56 Peter Mortensen 11.7k1779106 asked Mar 27 '09 at 10:54 Tanmoy 12.6k123849 stackoverflow.com/questions/1810854/… –user94154 Jan 1 '10 at 21:55 add a comment 10 Answers 10 active oldest votes up vote 80 down vote accepted This blog post seems to have your answer: Specifically, use a tag like the following: The name of the image must be the same as in the example. CTRL + SPACE for auto-complete.. Search . Setting cron to be run as root . Store Just WordPress Transients Persistently . The image will show up when you click on the Like button on page B. It'll probably work site wide too if you use a common header file. Enter your URL here and FB will update the metadata from your page: (updated link) shareimprove this answer edited Jun 19 '12 at 12:42 answered Dec 14 '10 at 15:52 Tim Scollick 8941117 add a comment up vote 21 down vote Facebook uses og:tags and the Open Graph Protocol to decipher what information to display when previewing your URL in a share dialog or in a news feed on facebook. Sorry about that. If you use wordpress, you can probably implement something similar using the Drupal example as a guideline. However, one important detail was overlooked: The size of the image MUST be at least 200 X 200 px, otherwise Facebook will substitute the thumbnail with the first available image that meets the criteria on the page. Stack Overflow works best with JavaScript enabled .. rev2018.1.8.28313 . rev2018.1.8.28313 . more stack exchange communities company blog Tour Start here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Log In Sign Up . A Real Example. The page is scraped when an admin for the page clicks the Like button or when the URL is entered into the Facebook URL Linter Facebook Debugger. I want to redirect them to Main page after using facebook login button0Facebook comment moderation tool doesn't work0Website - Facebook login with get user details like name, email, phone, image url,etc, Facebook V2.9 Hot Network Questions How much smaller were medieval farm animals in England than today? Why is 11 am + 1 hour == 12:00 pm? Why was there a robot in Rocky IV? Spectre/meltdown on a GPU Equation numbers do not align to rightmost in beamer Should a value of a constant be changed over time? What makes the Mauritius Passport so valuable? What is the story of the Naga Padmanabha dragging the chariot of Surya? How to use 2,0,1,8 to make 51? Meaning of "bull" in Byron's "this is no bull, although it sounds so" Should I use "a" or "an" when I abbreviate a word? The use of T[] as a template parameter How "scrambled" is the data on a RAID5 disk? How to draw a directed graph to show the relations among some notions? How can I get players to a specific place without telling them where it is? Compare two numbers given as strings Under what conditions would humanoids evolve eyes in the backs of their heads? Is it mandatory to have health insurance? Is Sam Gamgee an orphan? What is the Powershell syntax for adding and removing items from a TreelistEx field? How did people use ed? Can you use Ready an action with "receive a buff from an ally" as the trigger? How to partially extract zipped huge plain text file? If I generate a random symmetric matrix, what's the chance it is positive definite? more hot questions question feed . If you are having trouble you can debug it with this Facebook tool. Then I went ahead to add an image to my header (the ob:image meta). Now you need to visit the debugger again to reset the Facebook cache, and give Facebook about 1 hour for that data to be pushed to all their servers. Finally, you can always manually edit your share posts. Stack Overflow works best with JavaScript enabled .. But that is not the image that facebook is using. It tells you what Facebook is seeing when you post in the URL to share. See the debugger: shareimprove this answer answered Sep 9 '12 at 13:08 cpilko 11.2k22543 Don't think so. It looks more geeky than it is. Facebook requires og:images to be at least 200px on a side. –Dwayne Charrington Feb 11 '11 at 1:11 maybe the best use both option –Yosef May 9 '11 at 10:39 5 type of image should be 'image/gif' in this case, shouldn't it? –Joaqun L. Changing the title or type tags after these limits are reached does nothing, your page retains the original title and type. I am using the code as follows Now when Facebook is showing it showing some thumbnails at left side. I find the meta property="og:image" to be much more reliable. Error 404 Sorry, but the page you are looking for doesn't exist. Still the correct image did not show up on my facebook notification 5a02188284
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment