Missing og meta tags when running debug
I am adding the proper meta tages to my video sharing website but Facebook continues to say they are not found. However, when I view source I see them. Can you please look at my source and tell me what开发者_运维问答 I am doing wrong?
http://www.christianclips.com/video/151/Cannon-Ball-Baptism
I had the same problem a while ago on a server running an old version of php (5.2.x)
The same pages would be parsed flawlessly on other servers yet they failed on this one.
I compared the headers and voilá, "Content-length" wasn't there. After adding it, everything started to work.
These are the headers for your page:
Date Wed, 31 Aug 2011 17:08:45 GMT
Server Apache
X-Powered-By PHP/5.2.17
Expires Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma no-cache
Content-Encoding gzip
Keep-Alive timeout=5, max=100
Connection Keep-Alive
Transfer-Encoding chunked
Content-Type text/html
Content-Length is missing.
Facebook will not parse it until it finds the Content-Length header with a proper value.
I hope this helps
cheers
kal
I am guessing it's because you are missing a doctype. There are also other validation errors with the page that may be causing it to not find them properly.
If you're having trouble with Facebook OpenGraph meta tags, the Facebook Debugger (previously known as the Facebook Linter) is often very helpful — it will force a re-parse of your URL and show you what the OpenGraph parser can see about it.
It has the added benefit of updating Facebook's cached OG metadata for your URL, which is very useful when you've newly updated that content.
精彩评论