0

In my page, I have this:

<meta property="og:image" content="<?php echo $picURL; ?>"/>

Which when executed is rendered like this:

<meta property="og:image" content="http://a3.sphotos.ak.fbcdn.net/hphotos-ak-ash3/556898_400257580012798_100000856787624_1059515_311974781_n.jpg"/>

But the Facebook scraper is seeing it like this:

<meta property="og:image" content="">

It seems it is not considering images from Facebook.

Cœur
  • 37,241
  • 25
  • 195
  • 267
Noor
  • 19,638
  • 38
  • 136
  • 254
  • Do you have the other required `og:meta` tags? Could we possibly see your URL? – Lix May 30 '12 at 18:56
  • 1
    See my answer [here](http://facebook.stackoverflow.com/a/7623986/265570) but you can't have images hosted on Facebook set as your meta tags. It used to give you a clearer error message that you couldn't hotlink Facebook images. – bkaid May 30 '12 at 18:57
  • according to you, is there a way that i can display the image using the facebook meta tag?? – Noor May 30 '12 at 19:27
  • the problem is that all my images are comming from facebook cdn – Noor May 30 '12 at 19:28
  • @BK, can you please place your comments as the answer – Noor Jun 05 '12 at 05:20
  • Hello and ggood ay dear Noor - many thanks for the question: well i found out that we can scrape fb eg: see here: https://pypi.org/project/facebook-scraper/ question: well can i scrape fb pages for a special key category - eg. female and single - is this possible!? – malaga Jun 20 '23 at 14:34

1 Answers1

1

See my answer here but you can't have images hosted on Facebook set as your meta tags. It used to give you a clearer error message that you couldn't hotlink Facebook images.

bkaid
  • 51,465
  • 22
  • 112
  • 128