1

I am trying to setup Facebook Insights for my website at http://pixls.co I have created an app and Facebook is asking me to put in my code... which I have done a few weeks ago...

but when I try to click the "get insight" button, it kept saying " No admin data found at root webpage http://pixls.co/. Insights requires admin data at this root webpage for the specified URL pixls.co "

am I missing something here?

williamli
  • 3,846
  • 1
  • 18
  • 30

1 Answers1

1

Take a look at your page in the Facebook Debugger. It's choking on your page and not reading any of your og:meta tags. If you click on the "See what our scraper sees" link at the bottom of the page, you will see it is ignoring all your HTML declaration tags.

I've had this problem before. The Facebook parser does not like white space at the beginning of your HTML.

When I view your page source, I see a blank line before your <!DOCTYPE> tag and another between that and your <html> tag. Get rid of those and see if your problem goes away.

Fix that, make sure it parses correctly in the debugger, and give insights ~24 hours to populate and check again.

cpilko
  • 11,792
  • 2
  • 31
  • 45
  • oh! Thanks so much! I think it is working. The blank line was somehow introduced to the site via a wordpress theme... while I still have no idea why there is a new blank line at the start (it's not there in the code!), I swapped out the current theme with the default and the line is gone... and Facebook accepted my site just like that. Thanks for the heads up with this useful info though :) – williamli Aug 31 '12 at 13:42
  • For WP, try getting rid of all the closing `?>` tags in your theme files. PHP doesn't need them. Any whitespace after a closing tag will be echoed. – cpilko Aug 31 '12 at 13:50