I believe my site has the correct markup for Facebook & Open Graph meta tags. But checking Facebook's linter shows that none of the tags are being detected. You can see for yourself here:
http://developers.facebook.com/tools/debug/og/object?q=goodloesolitaire.com
When I use a different site, the tags are found:
http://www.opengraph.in/?url=goodloesolitaire.com&format=html
I went through the similar questions and none of those check out. Any ideas on why Facebook's debugger might see nothing?
Facebook is seeing HTTP code 206 "Partial Content" instead of normal 200 "OK".
206 "Partial Content": This message might occur if a client has a partial copy of content in its cache and requests and update of missing content. This message indicates that the partial request succeeded.
I found one old forum post about it: http://forum.developers.facebook.net/viewtopic.php?id=68440
It looks like it might be a server configuration issue to do with caching. Do you run Varnish or anything like that on your server? Check in to that.
Another thing to try might be to move your charset meta tag below your Open Graph tags, so Facebook knows the right encoding to parse them with. Also, using this type tag might work better:
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
Finally, make sure you don't have anything blocking the Facebook scraper user agent. As mentioned in their documentation:
Our bot functions with the User Agent "facebookexternalhit/*". Make sure you're not blocking that user agent. Also, make sure Facebook's servers can reach your server.
If You are using Varnish:
Put
if (req.http.user-agent ~ "facebookexternalhit")
{
return(pipe);
}
Inside your sub vcl_recv
:
sub vcl_recv
{
}
It worked very well.
We use Varnish so this did the trick for us:
if (req.http.user-agent ~ "facebookexternalhit")
{
return(pipe);
}
https://www.varnish-cache.org/lists/pipermail/varnish-misc/2011-February/020060.html
来源:https://stackoverflow.com/questions/8492528/facebook-debugger-lint-tool-gets-http-206-doesnt-detect-open-graph-meta-tags