Facebook Scraper seeing only parts of header -


i couldn't see obvious reason differences, pretty new coding facebook friendliness.

i've got page on site shows flickr albums: http://jpgme.co.uk/sports/index.php?type=sets

at moment headers source looks this:

<!doctype html public '-//w3c//dtd xhtml 1.0 transitional//en' 'http://www.w3.org/tr/xhtml1/dtd/xhtml1-transitional.dtd'> <html xmlns:fb="http://ogp.me/ns/fb#" xmlns='http://www.w3.org/1999/xhtml'> <head>     <meta http-equiv='content-type' content='text/html; charset=utf-8' />     <title>blue line ice hockey photography - professional ice hockey photography in greater manchester & beyond</title>     <link href='http://jpgme.co.uk/sports/themes/blackstripe/css/blackstripe.css' rel='stylesheet' type='text/css' />     <link rel='alternate' type='application/rss+xml' title='blue line ice hockey photography - professional ice hockey photography in greater manchester & beyond' href='http://jpgme.co.uk/sports/index.php?type=rss' />      <meta property="fb:admins" content="61401353" />     <meta property="og:title" content="blue line ice hockey photography" />     <meta property="og:type" content="website" />     <meta property="og:url" content="http://jpgme.co.uk/sports/"/>     <meta property="og:image" content="http://jpgme.co.uk/images/fb.jpg"/>  </head> 

but facebook scraper can see is:

<!doctype html public "-//w3c//dtd html 4.0 transitional//en" "http://www.w3.org/tr/rec-html40/loose.dtd"> <html> <head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head> <body> <div id="leftcontent"></div> 

trying scrapping after document load!

the possible reason trying scrap before whole page load.

moreover fb using ajax adds/removes div , when required, can possible problem.


Comments

Popular posts from this blog

Perl - how to grep a block of text from a file -

delphi - How to remove all the grips on a coolbar if I have several coolbands? -

javascript - Animating array of divs; only the final element is modified -