How does facebook know which images are needed to get the url?

Possible duplicate:
How does Facebook Sharer choose Images?

When I attach a link to facebook, I get title, url, descriptionand imagesfrom this page.

But facebook separates images and gives only important ones. And I do not understand this.

For example, attach this link

http://tonlinegames.com/ - This is a gaming site with photos of games.

When you attach it, facebook will give you as a result only an image about games, but there are many other images, such as buttons, etc.

+3
source share
4 answers

Facebook Open Graph, :

http://developers.facebook.com/docs/opengraph

, , (, h1, p-, ..).

+3

URL Linter, , facebook . , , "" .

+2

, facebook.

  • , 50x50 ( ).

  • or perhaps he is looking for an image that is a link to the site itself, since many sites are of this type.

Facebook probably combines more than one such type of template to be more precise.

+1
source

He probably just looks at the largest images in the body of the site. I am sure that they also have some image size restrictions. Too little will not work when you come to food for some organisms.

+1
source

Source: https://habr.com/ru/post/1762374/


All Articles