Facebook like on demand meta content scraper

Posted by Tobias on Stack Overflow See other posts from Stack Overflow or by Tobias
Published on 2010-06-03T01:49:06Z Indexed on 2010/06/03 1:54 UTC
Read the original article Hit count: 307

Filed under:
|
|
|
|

you guys ever saw that FB scrapes the link you post on facebook (status, message etc.) live right after you paste it in the link field and displays various metadata, a thumb of the image, various images from the a page link or a video thumb from a video related link (like youtube).

any ideas how one would copy this function? i'm thinking about a couple gearman workers or even better just javascript that does a xhr requests and parses the content based on regex's or something similar... any ideas? any links? did someone already tried to do the same and wrapped it in a nice class? anything? :)

thanks!

© Stack Overflow or respective owner

Related posts about php

Related posts about facebook