3

I have used open graph meta tags in my website

<meta name="og:description" content="My page descriptions ..." />
<meta name="og:title" content="سخت‌افزار20" />
<meta name="og:type" content="website" />
<meta name="og:url" content="http://www.hardware20.com/" />
<meta name="og:image" content="http://www.hardware20.com/apple-touch-icon.png"/>
<meta name="og:site_name" content="hardware20"/>
<meta name="og:locale" content="fa-IR" />

But facebooke does not load Image & Descriptions, When I try to share a page.

I have tried debugging by open graph debugger https://developers.facebook.com/tools/debug/ But the debugger always said Error parsing input URL, no data was scraped. (even with facebook examples!)

Thanks in advance

9
  • Is it possible that facebook API is having some issues?
    – ek9
    Commented Apr 17, 2014 at 8:03
  • @edvinas.me I have never tried the debugger before maybe this problem is temporary. but my code doesn't work. Commented Apr 17, 2014 at 8:14
  • Is it possible that something in your robots.txt would be blocking Facebook's scraper? Commented Apr 17, 2014 at 16:15
  • @nathangiesbrecht I wonder why developers.facebook.com/tools/debug does not work with any URLs not just my website. Commented Apr 17, 2014 at 16:45
  • 1
    @nathangiesbrecht Thanks, still got Error parsing input URL, no data was scraped. I used VPN (Because Facebook is not available in Iran!) maybe my VPN server is blocked by Facebook debugger, anyway thank you for your help. Commented Apr 17, 2014 at 17:59

1 Answer 1

1

Is it possible that because your site is hosted in Iran (or appears to be) Facebook is blocked from scraping it? Typically a call to the Facebook share API includes the page title and the URL and the rest is scraped by a crawl.

If the Iranian firewall blocks outbound requests to Facebook I don't see why it would allow inbound requests either.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.