How facebook extracts the right thumbnail of a link?

Posted by David on Stack Overflow See other posts from Stack Overflow or by David
Published on 2010-05-11T17:15:27Z Indexed on 2010/05/11 17:24 UTC
Read the original article Hit count: 149

Filed under:
|
|
|

Hi,

I'm wondering how facebook extracts the right picture of the article from a link? they ignore any icons, ads images, or other not related images, & they gives you the right image?

What technique/method they use? because i've tried to extract all images using a php regex but how to find the right one?

Thanks

© Stack Overflow or respective owner

Related posts about php

Related posts about regex