When sharing an article on facebook in a status, facebook generates a title, abstract and attach an image to the shared article.
For instance, putting www.stackoverflow.com in your status will geenrate
Stack Overflow https://stackoverflow.com/ This is a collaboratively edited question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.
(which btw: is not in the source code of stackoverflow.com page)
But when trying something like an article in news website, we get some extracted results from source code of the page (check any article in www.goal.com for example) ..
Any idea about the algorithm facebook uses for that ?