Friday 15 May 2015

debugging - Facebook debugger is seeing code that isn't there -


When Facebook debugger scraps, it says' Can not download: data from URL not be retrieved Could. ' When I click on 'I see our scraper for your URL', then I get this:

    

But what exactly is this:

  & lt ;! DOCTYPE HTML PUBLIC "- // W3C / / DTD HTML 4.01 // N" http ": //www.w3.org/TR/html4/strict.dtd" & gt; & Lt; Html & gt; & Lt; Top & gt; & Lt; Meta HTTP-EQUIV = "content-language" CONTENT = "N" & gt; & Lt; Meta http-equiv = "content-type" content = "text / html; charset = ISO-885 9-1" & gt; & Lt; META HTTP-EQUIV = "content-style-type" CONTENT = "text / css" & gt;   

There is no other page in the domain where I have implemented a similar button, there is a problem in it, it works fine; I basically used the same piece of FB code, for them all, only different details for each page. I can not understand what the problem is, except that it looks like the debugger is looking into the cache file, but it certainly should not be so?

Maria-Helena

I hit this issue well and found that The Facebook scrape came in the form of an inbound Jasonon request. Since that particular route was established to handle both JSON and HTML responses, the FB was getting a large narrow Jason Blob instead of the actual web page. Not sure that it solves your exact problem, but hopefully the brightness of some new ideas!

No comments:

Post a Comment