Does anyone knows the algorithm how Facebook detects the images when adding a link

Posted by Edelcom on Stack Overflow See other posts from Stack Overflow or by Edelcom
Published on 2010-05-17T07:14:47Z Indexed on 2010/05/17 7:20 UTC
Read the original article Hit count: 267

Filed under:
|
|

When you add a link to your Facebook page, after some processing, Facebook presents you a next/prev button to choose an image linked to the url your are inserting.

Obviously, Facebook reads the html-page and displays the images found on the url you insert.

Does anyone knows what algorithm Facebook uses to decide what images to show ?

If I insert a link to : http://www.staplijst.be/lachende-wandelaars-aalter-aktivia-003.asp, only 11 images are detected. The one I want, the one at the top right corner, is not included in the list.

If I insert a link to http://www.staplijst.be/stichting-kennedymars-rijsbergen-zundert-nederland-knblo-nl-81996.asp, 19 images are displayed (including the one I want (the one at the right top corner of the text area).

Both pages are build using asp code but are functionally the same.

I thought that it has something to do with the image size, but can't find any deciding factor there.

I will investigate some furhter, because if I know what Facebook is looking for, I can make sure that the correct images are included on the page (since they are dynamic pages build with classic asp).

But if anyone has any idea ? Help would be appreciated.

© Stack Overflow or respective owner

Related posts about facebook

Related posts about images