Reputation: 354
Everything was working fine when suddenly I started to get this Open Graph error on all pages:
https://developers.facebook.com/tools/debug/og/object?q=http%3A%2F%2Fn-pix.com%2F
I've tried many suggestions from other questions, but nothing worked yet.
And if I save the static HTML from the page and load it on Open Graph debugger, everything works perfectly:
https://developers.facebook.com/tools/debug/og/object?q=http%3A%2F%2Fn-pix.com%2Fogtest.html
Any suggestions? Maybe something wrong with the headers?
Upvotes: 1
Views: 6179
Reputation: 354
I've found the problem:
PHP GZIP compression was causing the problem. As soon I disabled it, the problem was solved and this explain the different behavior between dynamic and static pages.
I hope this can help more people in the future.
Upvotes: 10