I'm trying to get their meta tags for specific pages, and for that I need to cheat facebook reading another title.
How can I determine if an infapse user is a Facebook spider / meta tag crawler?
the variable $_SERVER['HTTP_USER_AGENT'] informs about this. Usually this is something like this facebookexternalhit/1.0 ( http://www.facebook.com/externalhit _uatext.php) , if it is facebook, reading your site
$_SERVER['HTTP_USER_AGENT']
facebookexternalhit/1.0 ( http://www.facebook.com/externalhit _uatext.php)