Use the facebook user-agent instead of $_SERVER

The $_SERVER globals may not be present (e.g. when using cronjobs, etc.). 
Using "facebookexternalhit" scraped pages will behave the same as to the original facebook scraper