does any one have an idea about how Facebook read URL and extract title and a text from the page. I got the title but the text?
impact
2:18 am on Dec 25, 2009 (gmt 0)
I am not very sure but i guess, store the entire content into an array. Remove every thing before and after <body></body> and then parse the content.
FourDegreez
6:20 pm on Dec 26, 2009 (gmt 0)
Probably grabs the content inside <body></body> as impact said, then does something like strip_tags() to just get the text, then takes the first X characters. Could be more sophisticated than that, if they are looking for text inside certain tags and ignoring it in others.