PDA

View Full Version : Facebook won't find image in WordPress post



futurepocket
13 Jan 2011, 05:28 AM
Hi,
So I am trying to share my WordPress blog links on Facebook, but for some reason, it can't find any of the images related to the post (within the post). I had a image rotator script in there prior to this, but Facebook was taking images from the script and they had nothing to do with the actual post. What can I do to fix this issue? Some kind of code I can add?

PerformanceDude
14 Jan 2011, 12:24 AM
Try adding the following to your head section:

<meta property="og:image" content="http://yourdomain.com/url/to/your/image.jpg"/>