0

I have problem with image url within facebook's meta tag:

<meta property='og:image' content="images/defaultRFCa.jpg"/>

Facebook's Linter (debugger) screams:

The image url obrazky/defaultRFCa.jpg is not compliant with RFC2396 and will not be displayed correctly.

I've tried absolute and relative url's but with no effect. I've tried this stackoverflow advices too. Thank you

Community
  • 1
  • 1
culter
  • 5,487
  • 15
  • 54
  • 66

1 Answers1

3

use absolute, not relative path

<meta property='og:image' content="http://yourdomain.com/images/defaultRFCa.jpg"/>

btw you forgot you Czech "obrazky/" from your linter output

genesis
  • 50,477
  • 20
  • 96
  • 125
  • Yes, I translated it, but not completely. And I wrote that I have tried absolute url with no effect. – culter Jul 20 '11 at 19:28
  • @culter: Give me absolute link to that image. You'll see you're wrong – genesis Jul 20 '11 at 19:30
  • Just as I said, I've tried it. my relative link was http://www.mydomain.com/obrazky/defaultRFCa.jpg. When I entered it to browser, it displays that image. Is it still wrong? – culter Jul 20 '11 at 20:45
  • I've checked FB code line after line and I found that the app_id was wrong. When I correct it, it didn't display that error no more. But I don't know why Linter displays that url is wron instead of app_id. I hope that google+ will replace this FB s... – culter Jul 23 '11 at 11:13