Posted Items on Facebook
Hi. I have a technical question about how Facebook does something using PHP. On Facebook, if you enter a link on Posted Items, Facebook automatically grabs the title, the thumbnail and the few first sentences. Do you know what they use? cURL maybe? If they do use cURL, do you think they would store this info in a database or pull this info every time?
5 comments
[ 6.1 ms ] story [ 22.5 ms ] threadSet up a page on a server you control that has a URL you know that Facebook has never seen.
Start making a posted item on Facebook with that URL.
Check your logs and see what User-Agent Facebook is using, and try to get your best guess as to what is going on.
Beyond the User-Agent (which might just be something like "Facebook") you could always dive deeper by investigating the actual packets sent and comparing them to those generated by something like wget or cURL.