facebook og:title not working, facebook scraper does not see anything

182 views Asked by At

This is my html:

<html>
  <head>
    <meta property="og:title"   content="This is my title" />
    <meta property="og:description"  content="This is my content" />
  </head>

  <body>
    test
  </body>  
</html>

Now the facebook-debug-tool tells me that 'og:title' of type 'string' is not provided. Clicking on "See exactly what our scraper sees" returns a blank page. The "test" within the body is not displayed. I have already disabled gzip content type as it was proposed in another answer...

1

There are 1 answers

0
Tobias Gassmann On

The problem was that I had ReWrite-Rules in place that were originally targeted at the google-crawler. Long story short: The facebook-crawler got hooked by those Rewrite-Rules, too. After removing the rewrite rules everything worked like a chram.