How to make facebook recognize my images online

I designed the ut website when I share any facebook page

facebook should recognize my page and select images to select a thumbnail

but this does not happen on my website as if facebook cannot recognize my page

or cannot read it and select from it images what should I do

so that facebook recognizes my page and upload all the images on the page, so move left and right to select the thumb for the shared page

+4
source share
3 answers

It seems that this question has already been answered here. Here is another useful link. Thanks for the question. It made me find out what I can use.

Update. Having tried it and not working, I tried the method in this post. It didn't work at first, but it was because I forgot to upload the image. So it may be that the original method may still work. Here is the template I used in my section:

<meta property="og:title" content="your title"> <meta property="og:description" content="your description"> <meta property="og:image" content="http://www.yoursite.com/your-image.jpg"> 

Update 2: If Facebook doesn't seem to recognize your code, try the lint tool . It does two things. The obvious one is that it reports any errors in your code. Secondly, it updates the Facebook cache on the page. I had two pages where the new code was not recognized until I did this.

+11
source

From my own tests, Facebook should find images on your site without problems if they appear directly in html (like <img src="path/to/img.png" /> 1 ), and not via css ( background-image: url(path/to/img.png); ).

This is my own test on the site: http://davidrhysthomas.co.uk/so/fbookImg.html , admittedly, it doesn’t have the β€œShare this page” button, so you need to log in to Facebook first, which may make a difference. But I do not have a Facebook developer account, which, unfortunately, can be used to test this theory.


  • Either absolute or relative paths do not seem to matter.
+1
source

in my experience using the drupal website, the logo was not recognized because the drupal system displays the relative path. changing this to the full path using http: // and updating the FB cache should work

+1
source

All Articles